Example 3 - an external style sheet

This is the same formatting as example 2 but this time the style was in an external sheet and the style sheet was linked into the page using this code:

<link href="examplestyle.css" rel="stylesheet" type="text/css" media="screen">

This used the following code in the external style sheet called examplestyle.css


body{
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
color: #0033CC;
}

h1 {
font-family:Verdana, Geneva, sans-serif;
font-size: 130%;
color: #06C;
font-style:italic;
}