Heading Tags HTML

HEADING TAGS- Heading tags are used to write headings and these are larger and bolder than normal body text. HTML has six levels of heading tags such as H1, H2, H3, H4, H5, H6 and these are container tags.

<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<H1> Level 1 Heading </H1>
<H2> Level 2 Heading </H2>
<H3> Level 3 Heading </H3>
<H4> Level 4 Heading </H4>
<H5> Level 5 Heading </H5>
<H6> Level 6 Heading </H6>
</BODY>
</HTML>


Output:

Title of the document

Level 1 Heading

Level 2 Heading

Level 3 Heading

Level 4 Heading

Level 5 Heading
Level 6 Heading