by Vivienne Trulock
A custom class is a style of style which can be 'reused'.
Choose Method: Show Dreamweaver Instructions | Show Code






The CSS code looks like this. Notice how the class style has a dot in front of it. This is to differentiate it from tag style which have no dot, and 'id' styles which have a hash symbol (#) in front.
CSS1
CSS2
The HTML code looks like this. Notice that the <p> tag has the class attribute inside the opening tag.