U of S | DCS | Courses | CAI | CSS | Classes

[Back] [Contents] [Next]


Defining "Special" text (Classes)


Tags like <i> normally displays italic letters, and <b> normally displays bold letters. It would be nice if we could define our own "category" of text and how it is to be displayed.

For example, in this course new concepts in examples are displayed "like this". I want to be able to identify all the "new stuff" in my document, and control how to display it using the style sheet. That way I can change the appearance of ALL my "new stuff" by changing one line in the style sheet, instead of a bunch of <font> commands in the document. That's what Style Sheet Classes allow you to do.


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