Skip to content
On-Page SEO

Heading Structure (H1–H6): How to Get It Right

Why one clear H1 and a logical H2–H6 outline help both readers and search engines — with the common mistakes to avoid.

The SEOArtifact Team 7 min read

Headings are the skeleton of a web page. A clear H1–H6 outline helps readers scan, helps screen-reader users navigate, and helps search engines understand how your content is organised and what each section covers. This guide explains how heading tags work, the rules worth following, and the common mistakes that quietly undermine otherwise good content.

What heading tags are

HTML provides six heading levels, <h1> through <h6>, representing a document's outline from the most important heading to the least. They are structural elements, not styling tools — their job is to describe the hierarchy of your content, and CSS handles how big or bold they look.

The one-H1 rule

Give each page a single H1 that states its main topic, ideally including the primary keyword. The H1 and the title tag are often similar but serve different places — the title tag appears in search results and browser tabs, while the H1 is the visible headline on the page itself. One unambiguous H1 tells both people and crawlers, "this is what the page is about."

A missing H1 and multiple competing H1s are the two most common heading problems. Either leaves search engines guessing about your page's primary subject.

Build a logical outline with H2–H6

Beneath the H1, use H2 for your main sections and H3 for subsections within them. Only go deeper (H4–H6) when the content genuinely nests that far. The key rule is don't skip levels: an H2 should be followed by H3s, not H4s. Think of it as a table of contents — if you listed every heading in order, it should read as a sensible, indented outline.

Headings and accessibility

Screen-reader users frequently navigate a page by jumping from heading to heading. A correct, well-ordered heading structure is therefore an accessibility feature as much as an SEO one — and the two goals reinforce each other. Skipped levels or headings used purely for visual size create a confusing experience for assistive technology.

Using keywords in headings

Include your primary keyword in the H1 and use relevant variations in a few H2s where they fit naturally. Headings are a good place to signal the subtopics you cover, which helps you rank for related long-tail queries. As always, write for the reader first — a heading stuffed with keywords reads badly and helps no one.

Common heading mistakes

  • No H1, or an H1 that's just a logo or site name rather than the page topic.
  • Multiple H1s competing to define the page.
  • Skipped levels (H2 → H4) that break the outline.
  • Headings used for styling — choosing an H3 because it "looks right" rather than for structure.
  • Vague headings like "More" or "Info" that describe nothing.
  • Keyword-stuffed headings that read like spam.

How to check your heading structure

You can't fix an outline you can't see. Our free Header Tags Checker fetches any URL and shows the full H1–H6 outline exactly as it appears in the HTML, flagging missing or multiple H1s. Pair it with the Website SEO Checker for a complete on-page audit, and see the on-page SEO checklist for how headings fit alongside titles, links and content.

Try the free tools from this guide

Keep reading