Account
Categories

HTML Headings


It displays the main headings and subheadings of web pages through heading tags, which contain six levels of headings.

There are the following six levels of HTML headings:

  • <h1>: It is the Heading 1 tag. It is used for the title of the page only once.
  • <h2>: It is the Heading 2 tag. It gives the major section headings of the page.
  • <h3>: This is the Heading 3 tag. It shows the sub-sections of the page’s main headings.
  • <h4>: This is the Heading 4 tag. It shows the sub-sections under Heading 3.
  • <h5> and <h6>: These are the HTML tags for Heading 5 and Heading 6. They are used to show subheadings under the main headings on a webpage. These headings are fewer and appear smaller in size than the others.