HTML has elements specifically designed for headings. Use headings for titles and subtitles and not for making text bold or large. Heading elements implement six levels of document headings.

The heading elements are <h1>, <h2>, <h3>, <h4>, <h5> and <h6>.
<h1> is the most important and <h6> is the least.


Heading Syntax

We write headers by use of <h#> (# in the range 1..6) tag like:

<h1>I am level 1 heading</h1>

Every heading element content is written between the opening (<) and the closing (/>) tags.