HTML Headings | Header Tags Tutorial with Example | HTML5 header TAG

HTML Headings


Define :

Headings means like headings in the article newspaper or in our notes which tell about the complete article that is main thing explained in the article.

Similar to that headings in our website so that search engine search our website by relating the headings.

HTML maily provides us 6 headings from H1 to H6

<H1></H1>

<H2></H2>

<H3></H3>

<H4></H4>

<H5></H5>

<H6></H6>

The main difference between headings in HTML:

The last one is the least important and smaller in size and the first one is the most important and bigger in size.

And importance results in its size and boldness that it actually has the highest font size and is highly bold while <H6> has the least font size and least bold. But these are defaults you can change its properties.

Lets understand with example :

Output :

hence <H1> headings are large in font size and are highly bold as compared to <H2> heading.and these are the difference between headings.