Quick CSS Tutorial
A quick introduction to externally-linked cascading style sheets
Back to ENGL303
How to use external stylesheets
1) Create a stylesheet file and apply it to your html pages. The stylesheet must be formatted as text and be saved as filename.css (where filename is whatever you want to call the file).
2) The content of the stylesheet is whatever style information you apply to your documents. The stylesheet does not need html tags, etc. For an examples look at http://www.as.wvu.edu/~sbaldwin/styles.css. And here's a file that applies styles.css: style1.
3) The stylesheet can redefine existing styles or define new styles (the example above does both).<
<link href="filename.css" rel="stylesheet" type="text/css">
This tag will apply a cascading stylesheet called filename.css to your document. Note: the link tag is not a container (no </link> needed).