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