There are 6 types of headings:

These headings are used by users, screen readers, and bots to quickly identify content of your site. Heading tags do not need to be styled as they already have default values for style as you can see below:


Examples of the 6 HTML Headings

<H1> Sample Text

<H2> Sample Text

<H3> Sample Text

<H4> Sample Text

<H5> Sample Text
<H6> Sample Text

That being said, most enterprise apps still provide custom stylization to their headings. Heading tags should be used more for organizing your content in a hierarchial format. Rely on the CSS not the HTML for the visual presentation.

Did you know?


You can use &lt; and &gt; to display the less-than sign (<) and the greater-than sign (>). These are known as HTML codes.

This is useful to display HTML without having the browser render it. In fact I had to use HTML codes to write the '&', '<', and '>' in the above sentence.