Home Tutorial CSS CSS h1 (Heading 1)

MSN Random Online

CSS h1 (Heading 1) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:02

CSS h1

Defines the properties for a Heading 1 element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+



This example styles an h1 element:

h1 {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 24pt;
color: navy;
padding-top: 12px;
padding-bottom: 3px;


You can specify different amounts of padding above and below a heading to group it visually with other elements.


Top Members

No top members yet.