Web Tools Table Maker3schools TranslateImage CompressorFavicon Icon GeneratorCrop & Resize Image
Apu
Apu August 19, 2022 › #Html #Q&A

How many different heading elements does html support?

HTML has six heading tags. They are <h1>, <h2>, <h3>, <h4>, <h5> and <h6>

All Heading Elements
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
Try it Yourself »

<h1> defines the most important heading. <h6> defines the least important heading.

Use heading tag to add heading or sub heading on your webpage. Don't use heading tag to increase font size.

By default, browser sets some padding, font size to the heading tag.
save
listen
AI Answer
Write Your Answer
loading
back
View All