Basic CSS 8

Creating and Applying a Class (1)

A "class selector" starts with a period. You can name it whatever you like. You can apply the class to any element, such as a heading (on this page) or a paragraph (on the next page).

The CSS is in the source of this page. View > Page Source to see it. You can also see the CSS below.

> Next page
< Previous page
> CSS Examples Index

Copyright © 2003 by Mindy McAdams. All Rights Reserved.