Home Tutorial CSS CSS h2 (Heading 2)
CSS h2 (Heading 2) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:03

CSS h2

Defines the properties for a Heading 2 element.

Browser/User Agent Support

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

Example

 

This example styles an h2 element:


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

Remarks

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

 
 

Login Form



Who's Online

We have 38 guests online


PHYSICS DICTIONY  PHP MeeLink.com  PR page rank  thainaturecure   wedding
[webdirectory] [thai webdirectory] [ptc forums ] [jabjai board] [tutor php] [meelink blog][link-mee.blog][Favorites online][ptc ref online][online payment] THF