Now let us talk about HTML Headings tag. You may have seen them before in the previous tutorials. To read the previous article Click Here. But this one is totally focused on them. Let’s dive into it without waiting for any further.
Types of HTML Headings
Okay so now there are mainly 6 types of Headings. From H1, going all the way to H6. As we increase in number, the size and boldness of the heading goes on decreasing. Example given below:
Why Headings are IMPORTANT?
Headings are important in the sense, search engines crawl your web page and Headings help them index the structure of the page. They also help the users understand what the content is about. <h1> should hold the most important headings, after that <h2> should hold headings less important than that and <h6> the least important ones.
More on Headings
All the headings tag have their own default size, but you can change them using the style attributes on them.
It is the most important heading. This is h1 heading.
It is not a hard and fast rule but it is recommended to have only h1 heading, which sums up what the content of your page is about
This is level 2 heading i.e., h2
There are basically 6 types of headings including h1 upto h6. As we increase in the numbers the size of the heading decreases
So this was all on HTML Headings, stay tuned for more content. We would like to hear suggestions from you in the comment section.
See yaa, in next tutorial 😉.
To read more on HTML, Click Here.