To include a style sheet in an HTML file

  • Open each HTML file you want to contain the style sheet, and add the style information between the <HEAD> start and end tags using the <STYLE> tag.

Here is an example of a style sheet created this way:

<STYLE>
BODY {
font-family: times, serif;
color: black;
margin-left: 10%;
margin-right: 10%;
}
A:link {
color: black;
text-decoration: underline;
}
A:visited {
color: black;
text-decoration: none;
}
</STYLE>

About Using Cascading Style Sheets