HTML - tags - <h2>

#55 of 147
h2
Next h3
Prev h1

 <html>
 <body>
     <h2>heading 2</h2>
 </body>
 </html>
 

The h2 element represents a heading with a rank of 2.

h1 h2 h3 h4 h5 h6

h2 has a default font size of 1.5em and a font-weight of bolder.

A live example:


heading 2


N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath