SEO and GEO

H-tags in SEO: everything you need to know

If you've come across SEO, HTML or web development, you most likely already know about h-tags. If the web world is new to you, the concept may seem a bit remote at first. It's still worth understanding, though. H-tags matter if you hope to rank highly on Google.
→ All articles

H-tags and SEO go hand in hand

H-tags play a central role when you organise and structure the content on your page. They act as navigation points and show your users how the content fits together. They're also a critical factor in search engine optimisation (SEO).

In this article, we go through what h-tags are and how they work. We also show why they're so valuable for both web developers and people who write content online. Let's start by lifting the lid on h-tags.

What are h-tags?

H-tags are the headings on your website, and they carry the whole structure of the page. They work like signposts. Both your visitors and the search engines use them to understand what the content is about.

Technically, h-tags are HTML elements. They define headings and subheadings on a page and arrange the content in a hierarchy. H1 is the most important heading. Then come h2, h3 and so on.

Each level organises and highlights its own section of the content. Search engines use the levels to read, understand and organise your page.

An example of h-tags in SEO

Below is an example of h-tags from the article you're reading right now. Our H1 reads “Everything worth knowing about h-tags in SEO and our 9 takes”. The keyword here has presumably been “SEO” or “h-tags”, so it makes sense to work it into the heading.

Example of an h1 tag

And here's an example of h2s in our blog post. They're the subheadings in an article, a blog post, a product page and all the others:

Example of an h2 tag

We write H2s as much for the user experience as for the search engines. It's easier to get an overview of a text when it's broken up with subheadings. Each subheading tells you what the next section is about.

H-tags are a direct ranking factor

H-tags matter a great deal for your SEO. Some call them headings, others call them headers. Whatever the name, they play a key role when search engines like Google assess and rank your content.

H-tags show what your landing page is for and how it fits together. Search engines use them when they go through your content. This is where they see which parts of the page are most relevant and important. That's why h-tags are an important part of technical SEO and a direct ranking factor. They guide the search engine's algorithms and give them a better understanding of what your page is about.

So use your h-tags correctly. Keywords in each heading are one part of the job. A logical, clearly defined structure in your heading hierarchy is at least as important. Then both users and search engines can easily navigate and understand the main points of your content.

Here's an example of a search-engine-friendly heading hierarchy. Once again, the example comes from this article.

H-tags vs. page title

Your page title and your h1 heading are two different things, and many people mix them up. Think of the page title as a door sign. The h1 heading is the room itself, for example the living room. It tells you exactly where you are. The page title appears in the search results and sets expectations for the content that awaits you.

Here's an example of a page title and an h1 tag from a Google search for ‘paraply’ (umbrella). Sport24 holds first place for the search. The page title is angled as a teaser. The h1 tag is short and tells you what you'll find on the landing page: umbrellas!

What the different h-tags do

All the different h-tags can quickly get confusing. That's why we compare them to a film, so you can keep track of them all. We go from h1 to h6 and explain what each tag means for SEO and how it helps make sense of the content on your page.

H1 tag

The h1 heading is the captain of your page. It runs the whole show, just like the lead role in a film. Keep it simple: use only one h1 heading per page. It helps both your visitors and your SEO.

Put your primary keyword early in your h1. Then both visitors and Google can see in a split second what the page is about.

H2 tag

The h2 heading is the film's subplot. It moves the story on, unfolds details or changes direction. Here you have more freedom, so use as many h2s as make sense.

Keep it to 200 to 300 words between each h2. Use your primary keyword in moderation, so it doesn't drown out the other voices. Otherwise it can look like spam to Google.

H3 tag

H3 headings are the extras and supporting roles. They don't affect the Oscars, in other words your ranking in the search results, and they make your text easier to read.

Use them when your text needs them. Remember that the order is a well-choreographed dance: h1 before h2 and h2 before h3. Never jump straight from h1 to h3 without an h2 in between.

H4, h5 and h6 tags

Beyond the A-list of h1 to h3, there are h4 to h6. They're the hidden bonus scenes after the credits. They rarely turn up, because only the most hardcore fans dig that deep. They don't count for much in SEO circles, and you don't need to worry about them. Stick to the big stars: h1 to h3.

Our 9 takes on h-tags

How do you write good h-tags? It's hard, and it takes practice to master.

The perfect heading often takes longer to write than the section itself. It needs to contain your keyword. It also needs to catch the reader's interest, so the reader keeps going. Both require you to weigh several factors carefully.

Here are our 9 takes for good h-tags:

  1. Use one h1 tag per page.
  2. Put your primary keyword in your h1 tag.
  3. Use variations of the keyword in your h2-h6 tags.
  4. Add an h-tag roughly every 300 words.
  5. Write h-tags that catch the reader.
  6. Keep your h-tags under 70 characters, so they're easy to skim.
  7. Let your h-tags describe the content that follows in the section.
  8. Don't give too much away in your h-tags, so your readers want to dive into the content.
  9. Word your h-tags so they're easy to understand and explain the content.

Still have questions after reading the article? As an SEO agency, we'd be delighted to hear from you, whatever you want to ask.

Ready to grow? Let’s talk

→ Book a chat