Headings in CSS

Headings appear just like any other text but normally bigger and bolder. If you do not like the default headings then change them!

How to style them is easy - the way you alter fonts for any other text:

h1 {
    font-family:Verdana;
    font-size:1.5em;
    font-weight:bold;
    text-decoration:underline;
}
        

The last line underlines the heading. The alignment of headings and other text is on the next page.

submit to reddit Delicious Tweet