Exercise 2: Using a linked style sheet
- Download the file http://darkwing.uoregon.edu/~jqj/inter-pub/css/testpage.html
- 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">
- 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]](upg.gif)
Next:
Real-life Examples of Style Sheets