EXTERNAL_CSS.html
_________________________
<html>
<head>
<title>EXTERNAL STYLE SHEET</title>
<link rel="stylesheet" type="text/css" href="p.css" />
</head>
<BODy bgcolor="cyan">
<P>An external style sheet is ideal when the style is applied to many pages</br>with an external style sheet, you can change the look of entire website by changing one file.</br> Each page must link to the style sheet using the tag link</P>
</BODY>
</html>
p.css
-------
p{
text-align:center;
font-size:30px;
font-family:TimesRoman;
color:purple;
}
_________________________
<html>
<head>
<title>EXTERNAL STYLE SHEET</title>
<link rel="stylesheet" type="text/css" href="p.css" />
</head>
<BODy bgcolor="cyan">
<P>An external style sheet is ideal when the style is applied to many pages</br>with an external style sheet, you can change the look of entire website by changing one file.</br> Each page must link to the style sheet using the tag link</P>
</BODY>
</html>
p.css
-------
p{
text-align:center;
font-size:30px;
font-family:TimesRoman;
color:purple;
}
No comments:
Post a Comment