U of S | DCS | Courses | CAI | CSS | Document Level Style Sheets

[Back] [Contents] [Next]


Document Level Style Sheets


Document level style sheets separate the style information from the tags used to display your document. Instead of putting the "style=" option in every tag, you move the style information to the start of your document.

The advantage is you can specify styles for certain kinds of text (like headings) in one place so you can quickly change your document's appearance.

The disadvantage is the stylesheet only applies to one document. Use "External Style Sheets" to set one stylesheet for a group of web pages.


Please send comments about this course to Kevin.Lowey@Usask.CA