Now that you’ve seen the different ways to add styles to your pages, let’s take a look at the variety of styles that you can add using CSS1 and CSS2. This section doesn’t cover them all; only the most popular. However, you can visit http://www.zvon.org/xxl/css1Reference/Output/index.html for an excellent reference to the CSS1 specification. (It also has links to a CSS2 reference.) The official CSS2 specification is at http://www.w3.org/TR/CSS2/.
In the following sections, I’ll touch on some of the styles for text, fonts, backgrounds, and links, and for working with borders, margins, and padding.