Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
text formatting tags
paragraph tag

HTML Headings

By Saket Bhatnagar•August 2, 2025•Beginner to Intermediate

Table of Contents

  1. Heading tags

Heading tags

  1. 1Heading tags are used to create headings in HTML.
  2. 2In Html we have 6 types of heading.
  3. 3All heading tags are container tags.
  4. 4<h1> Heading-1 </h1>(Biggest and Most Important Heading of a webpage.
  5. 5<h2> Heading-2 </h2>
  6. 6<h3> Heading-3 </h3>
  7. 7<h4> Heading-4 </h4>
  8. 8<h5> Heading-5 </h5>
  9. 9<h6> Heading-6 </h6> (Smallest and least important heading)
  10. 10<h1> should be used only once in a webpage.
  11. 11Note: Browser will automatically add one line break before and after the heading tag.

Share this article

Last updated: September 2, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.