Heading elements describe content's section and information it presents.

They are considered to be the titles and sub-titles of the content itself.

Hierarchy starts with <h1> element as the highest level heading (most important one) and ends with <h6> as the lowest level.

Higher level headings usually appear in larger fonts.

Syntax:

<h1></h1>, <h2></h2>, <h3></h3>, <h4></h4>, <h5></h5>, <h6></h6>

Attributes:

Example

HTML heading elements:

 

›› go to examples ››