Logo
HTMLCSSJavaScriptReactjsnewResourcesContactUpdates
Join

Get started today

HTMLCSSJavaScriptReactjsnewResourcesContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
text formatting tags
paragraph tag

HTML Headings

By Saket Bhatnagar•December 12, 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: January 12, 2026

Saket Bhatnagar

I build products, share the playbooks, and pass along everything I learn so you can ship faster.

GitHubLinkedInYouTubeWhatsApp Channel

Quick Links

  • Updates
  • Resources
  • Resume Builder
  • Contact

WhatsApp

Builders Group

Real-time notes from my builds, weekend challenges, and accountability threads.

Shipping Notes Channel

Launch alerts + bite-sized lessons.

© 2025 Saket Bhatnagar. All rights reserved.

Always building, always learning.