Cascading style sheets are a tool used to make all the elements of a web site look similar. By defining such factors as the font, size and colour of text in one style, that style can easily be called on over and over again throughout the web site.

While it's possible to acheive a similar result by using font tags, using styles is easier and ensures that your site will look the same in different browsers, no matter what settings are being used. In this section, we'll examine how to use styles.

There are three ways to create styles. The first is to place them into each tag in the document, the second is to define all the styles at the top of each file, the third and most common is to create a separate file which list all the styles, and then link to the file.

Go To Page Two

[HTML Basics] | [Introduction To Tags] | [Tables] | [Frames] | [Cascading Style Sheets] | [Test] | [Creating Your First Web Site]