HTML Headings

In this tutorial will learn what are HTML Headings (h) and how to create HTML Headings. HTML h tag can be defined as a title or a subtitle which you want to display structure of the webpage content.

HTML Headings

The <h1> tag indicates the most essential heading in the document, while the <h6> tag identifies the least important heading. HTML has six levels of heading tags, <h1> through <h6>. The lower the heading level number, the higher the relevance of the heading.

Headings are shown in a bolder, bigger font than regular text by default in browsers. Moreover, <h1> headings are shown in the biggest font, while <h6> headings are shown in the smallest font. The <h1> to <h6> tags establish six distinct HTML headings, ranging from the highest level h1 (primary heading) to the lowest level h6 (least significant heading).

The biggest heading tag is h1, and the smallest is h6. Thus, the most essential heading is designated as h1, and the least important as h6.

HTML Headings Example

<h1>Heading h1 </h1>
<h2>Heading h2 </h2>
<h3>Heading h3 </h3>
<h4>Heading h4 </h4>
<h5>Heading h5 </h5>
<h6>Heading h6 </h6>
Anjum Tips: is an independent educational platform providing free learning resources, practical guides, online Tools, Quizzes, Calculators, Converters, and Tutorials across a variety of topics. All content is intended for educational and informational purposes only and does not represent or provide official certification, accreditation, or endorsement by any third-party organization or platform.