What are Header Tags?
Header tags, also known as heading tags, are the HTML tags used for the titles on a webpage. They allow readers and search engines to understand the hierarchy of the headings on a webpage.Â
There are six header tags, starting with H1 and down to H6. The H1 header tag is the most important, while the H6 is the least important.Â
- The H1 header tag is used for the title of the webpage.Â
- The H2 header tag is used for the subheadings of the webpage.Â
- The H3 header tag is used for the subheadings of the H2 header.
- The H4 header tag is used for the subheadings of the H3 header.
- The H5 header tag is used for the subheadings of the H4 header.
- The H6 header tag is used for the subheadings of the H5 header.