The Jean and Alexander Heard Library

Library Information Technology Services

Cascading Style Sheets

A class is a "free agent" selector that can be applied to any HTML tag or group of tags that you choose.

Step 5

Key points:

  • The name for your class must start with a period.
  • The class name must be alphanumeric without punctuation or special characters.

Creating a custom class

Sometimes you will want more flexibility in defining a style on a page. You can gain this flexibility by creating a custom class.

<<prev | next>>


Copyright 2001 Jean & Alexander Heard Library, Vanderbilt University