FREE Beginners Guide To SEO

Read Now

How To Use H1-H6 HTML Elements Properly



Proper Use Of H1, H2, H3, H4, H5, H6 header elements

The six heading elements, H1 through H6, denote section headings. Although the order and occurrence of headings is not constrained by the HTML DTD, documents should not skip levels (for example, from H1 to H3), as converting such documents to other representations is often problematic. W3C

However you do not need to use all six elements to structure your pages.

For example:

<h1>Website Design Basics<h1>
<p>Here is some text</p>
<h2>HTML</h2>
<p>Here is some text</p>
<h2>CSS</h2>
<p>Here is some text</p>

Use Only One H1 Element on any page – even Google recommends this.

At Hobo we usually aim to use the header elements as explained above, and generally only reach level H3 as each page is a concise investigation of one topic. We only use one H1 element per page on most pages.

However the following is also semantically correct:

For example, here is where I live:

<h1>Earth</h1>
<h2>Europe</h2>
<h3>UK</h3>
<h4>Scotland</h4>
<h5>Renfrewshire</h5>
<h6>Greenock</h6>

You can use any number of H2, H3, H4, H5, H6 Elements on any page

You can use any number of H2-H6 elements on any one page, but this might be a bit cumbersome for the typical web designer.

So as you can see there is a few definitive ways to implement these elements. We would recommend that possibly you keep your pages specific about one topic and use

  • One H1 Element (tag as it is commonly talked about)
  • As many as required H2 elements to denote sections on the page (you should really only need one or two or 3 if you are keeping your page concise.
  • Consider using H3 Elements for useful link groups to other relevant sources but recent advice (2013) would be to try and keep Headers for TEXT content and not to group template navigation, for instance.

Search Engines Love H1 Elements – We Think?

It has been argued that the main search engines pay more attention to H1 elements these days, so you might want to consider this when creating your pages, and include your best keywords in it. While the THEORY is sound, there is little actual evidence that H1-H6 headings improve SEO (For Google). I would CERTAINLY NOT want to see a keyword I am targeting appear in every Header element.

Use <h1> for top-level heading

<h1> is the HTML element for the first level heading of a web document:

      If the document is basically stand-alone, for example ‘Everything you want to know about SEO’, the top-level heading is probably the same as the title. If it is part of a collection, for example a section on ‘Penalties’ in a collection of pages about ‘search engine optimisation’, then the top level heading should assume a certain amount of context; just write
<h1>Penalties</h1>
      while the title should work in any context:
<title>Everything you want to know about SEO</title>

Unlike the title, this element can include links, emphasis and other HTML phrase elements.

Consider using CSS (Cascading Style Sheets), which are designed to express the author’s preferred font sizes corresponding to elements such as H1 etc
Remember:

The six heading elements, H1 through H6, denote section headings. Although the order and occurrence of headings is not constrained by the HTML DTD, documents should not skip levels (for example, from H1 to H3), as converting such documents to other representations is often problematic. W3C

 

If you enjoyed this post, please share :)




Learn how you can get more sales from your website

Subscribe for free and let us share with you:

  • how to submit your site to Google, Yahoo & Bing
  • how to optimise your site to get more traffic from Google
  • how to target the most valuable keywords for your business
  • how to make your site rank better in free Google listings
  • how to rank high & avoid Google penalties in 2013

Trust Hobo with your SEO plan

Find out more