HTML Headings

The Heading (<h1>) Tag

Headings are sections of larger bolder font used to describe or title different sections of a web page. They are a great way to section out different parts of a web page and add a hierarchy to the content of the page.

There are 6 different sizes of headings, 1-6, with 1 being the largest and 6 the smallest. You would create the largest heading with the <h1> tag and the smallest with the <h6> tag.

Html Code:

<h1>This is the biggest heading</h1>
<h2>This is the next biggest</h2>
<h4>We're getting smaller</h4>
<h6>This is the smallest heading</h6>

Browser Display:

This is the biggest heading

This is the next biggest

We're getting smaller

This is the smallest heading