Exercise 2: Using a linked style sheet

  1. Download the file http://darkwing.uoregon.edu/~jqj/inter-pub/css/testpage.html
  2. Examine the file using NOTEPAD. Then link to a separate style sheet:
    <LINK REL="STYLESHEET" TYPE="text/css"
       HREF="http://darkwing.uoregon.edu/~jqj/inter-pub/css/testpage.css">
  3. View the result in both Netscape and MSIE, and find 5 differences.

Here's the style sheet:

BODY {color: green; font-size: large; 
    font-family: Comic Sans MS}
P {color: red}
H1 {background: yellow}
blockquote {color: blue; margin-left: 0px}

[up to series index]Next: Real-life Examples of Style Sheets