Wednesday, July 1, 2015

How embedded style can be linked with HTML documents?



Embedded style is inside the HTML code only. It is written using the <Style> tag and used under the <Head> structure. It gets applied to the element for which the style will be written. The syntax of it is as follows:
<HEAD>
<STYLE TYPE="text/css">
p {text-indent: 10pt;}
h1{text-color: #FFFFFF;}
</STYLE>
</HEAD>

No comments:

Post a Comment