What are header tags in SEO
- The header tag, more properly known as the heading elements, are a series of html elements that denote the importance of the content between them.
- You can think of it like an outline format. The H1 is the title. The H2 is any subtitles. The H3 would be for any sub-subtitles, which rarely come up in web writing. Anything beyond H3, all the way out to H6, is highly unlikely to be used.
- Header tags are incorporated into your HTML code to highlight important elements on your page for search engines.
These heading tags have two main purposes:
to inform the visitor with visible and summarized texts about the content of the following paragraphs. So they help readers better understand what they are about to read.
to indicate to search engines (Google, Bing…) the most important information included on your page (Google’s algorithm would give more importance to keywords and phrases that are contained in the titles (heading tags) than to the rest of the content)
- They are the simplest ways to divide up the content of your page into different smaller sections to make it more comprehensible.
- In HTML coding, the heading tags from h1 to h6 form a top-down hierarchy. This means that if you skip any of the tag numbers the heading structure will be broken, which is not ideal for on-page SEO.
How to Write HTML Heading Tag
- There are six header tags, ranging from H1 to H6. Each denotes decreasing importance. H1 is the most important, and should only be used once per page, typically for the title/headline of the post.
- Each successive heading element should be used as a subcategory of the one above. Essentially, it will look like this:
- For search engine optimization these tags inherit a lot more importance than other HTML tags. If properly used and optimized, heading tags are responsible for bringing up the keywords used in them in SERPs.