HTML h1 to h6 tag

The HTML <h1> tag represents a level 1 heading in an HTML document.

HTML includes 6 levels of headings, which are ranked by importance. These are <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.

The rank is given in the heading name; <h1> has the highest rank, and <h6> has the lowest rank. Two headings of the same name have the same rank.

Browsers typically render the various headings in different sizes – with <h1> being the largest and <h6> being the smallest.

<h1>Heading 1</h1>
<p>Paragraph text....</p>
<h2>Heading 2</h2>
<p>Paragraph text....</p>
<h3>Heading 3</h3>
<p>Paragraph text....</p>
<h4>Heading 4</h4>
<p>Paragraph text....</p>
<h5>Heading 5</h5>
<p>Paragraph text....</p>
<h6>Heading 6</h6>
<p>Paragraph text....</p>

Eg. :

Heading 1

Paragraph text….

Heading 2

Paragraph text….

Heading 3

Paragraph text….

Heading 4

Paragraph text….

Heading 5

Paragraph text….

Heading 6

Paragraph text….