Monday, 19 January 2015

What is Embedded or Internal Style Sheet?


Click here to watch video now!!!

Embedded or internal style is applied to the entire HTML file. It is used when you need to modify all instances of a particular element in a web page.
For example:


<HTML>
<HEAD>
<TITLE>Internal Style Sheet</TITLE>
<STYLE type="Text/CSS">
p{
 Color: blue;
}
</STYLE>
</HEAD>
<BODY>
<P >This paragraph 1</P>
<P >This paragraph 1</P>
<P >This paragraph 1</P>
</BODY>
</HTML>


No comments:

Post a Comment