Click here to watch video now!!!
An external style sheet is a text document (file) containing the style definition. External Style sheets are used to control the style for entire website.
For example:
----external.html----
<HTML>
<HEAD>
<TITLE>External Style Sheet</TITLE>
<LINK href="style.css" rel="Stylesheet"></LINK>
</HEAD>
<BODY>
<P>This is Paragraph 1</P>
<P>This is Paragraph 1</P>
<P>This is Paragraph 1</P>
</BODY>
</HTML>
---style.css---
p{
color:blue;
}
No comments:
Post a Comment