SEO – Headings

Headings are the titles of the sections of a page. HTML has six levels, <h1> to <h6>. They help the reader to scan the page, and they help search engines to understand the topic and the structure.

Why headings matter

  • They break the text in small parts, so the page is easy to read.
  • They show the main topic (H1) and the sub topics (H2, H3).
  • They help people who use screen readers to move through the page.
  • Google can use headings to understand the page, and sometimes to show answers in the results.

How to use headings

  • One H1 per page. It is the main title of the page, and should tell the topic clearly. HTML5 allows more than one, but one clear H1 is the simple and safe way.
  • Use H2 for the main sections and H3 for the parts inside an H2. Go deeper only if needed.
  • Write meaningful headings. “Introduction” says little. “What is a title tag?” says a lot.
  • Use the keyword where natural, not in every heading.
  • Do not use headings only to make text big or bold. Use CSS for the style.

Example of a good structure

<h1>SEO Title Tag</h1>
  <h2>What is a title tag?</h2>
  <h2>How to write a good title tag</h2>
    <h3>Length</h3>
    <h3>Keywords</h3>
  <h2>Examples</h2>

Should you skip heading levels?

For example going from H2 directly to H4. Google has said that this is not a problem for ranking. But a proper order is better for accessibility, and it keeps your page easy to understand. So try to keep the order without gaps.

Headings and the title tag

The H1 and the title tag should be about the same topic. The title is for the search results, the H1 is for the visitor who opened the page. See Title Tag.

Note: Read only your headings from top to bottom. If they explain the full page like a small table of contents, the structure is good. Next: SEO Content.

Congratulations! Chapter Finished. Learn more about the similar topics:
Exercises & Assignments
Write a title tag and meta description for a web page
Create SEO friendly URLs from page titles
Fix the heading structure of a page
Add alt text and size attributes to an image
Rewrite weak anchor texts
Interview Questions & Answers
What is on-page SEO?
What is a meta description?
What is a title tag and what is its ideal length?
What is alt text and why is it important for SEO?
What is anchor text?