The HTML headings are <h1> to <h6> tag. These tags change the font size of the text. The <h1> tag is largest heading tag and <h6> is smallest heading tag.
Example of Code
Here it is example how to heading display accroding to their tags. <h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
Output
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6