Most pages start life as an outline in a document or a notebook: a title, a few main sections, some subsections underneath. Then the page gets built, and the outline quietly drifts. The template adds its own H1 in a banner. A subsection is promoted because the bigger text looked better. A placeholder heading is left empty where a section was planned and never written. The finished page reads fine on screen, but the heading structure underneath no longer matches the plan.

This guide shows how to turn a draft outline into a clean heading structure, level by level, and then how to verify the built page with the free Heading Structure Analyzer on Ovatly, which draws the real H1 to H6 outline from the page's HTML and flags where it broke.

Contents

  • Quick answer
  • An outline is a hierarchy, not a list of font sizes
  • Name the page once: the single H1
  • Nest the sections in order
  • Give every heading real content
  • Write headings that describe their section
  • How to verify the built page, step by step
  • Worked example: spotting a skipped level
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Turn an outline into a clean heading structure by assigning levels by nesting, not by appearance: one H1 that states the page topic, H2 for each main section, H3 for subsections under an H2, and deeper levels only when nesting genuinely goes deeper. Never skip a level on the way down, and never leave a heading with nothing under it. Then verify the built page: paste its HTML into the Heading Structure Analyzer, read the indented outline it draws in document order, and fix every warning it flags: missing or multiple H1s, skipped heading levels and empty headings.

An outline is a hierarchy, not a list of font sizes

The most common way an outline breaks is that heading levels get chosen by how the text should look. A writer wants a section title to appear smaller, so it becomes an H4 directly under an H2. The page looks right, but the structure now claims there is a missing subsection between the two: that is what a skipped level means in an outline.

Decide levels while the page is still an outline, by one question only: what is this section a part of? A top-level part of the page is an H2, a part of that section is an H3, a part of the subsection is an H4. If you cannot answer the question, the section probably belongs one level higher, or it is a separate main section. Styling can make any level look any size; the level itself should carry only the nesting.

Name the page once: the single H1

Every outline has exactly one line that names the whole page. That line becomes the H1, and nothing else does. HTML5 allows several H1s in separate sections, but for SEO and accessibility a single clear H1 stating the page topic is the safer, conventional choice, which is why the analyzer flags multiples as a warning rather than a hard error.

In practice, the second H1 rarely comes from the outline; it comes from the build: a site banner, template header or hero block that wraps the site name or a slogan in an H1 of its own. Check where the template already spends an H1 before you assume yours is the only one.

Nest the sections in order

With the H1 settled, walk the outline top to bottom and give each line the level of its parent plus one. Main sections are H2, their subsections are H3, and nothing jumps: an H4 only appears under an H3.

Skipped levels matter because screen readers and search engines read headings as a document outline. Jumping from H2 to H4 implies a missing subsection and makes navigation by heading confusing for assistive technology users. A skip breaks the outline's promise in a way rendered-page readers may never see, but outline readers always do. The companion guide on headings for accessibility covers that side in more depth.

Give every heading real content

An outline line earns its heading only when there is content beneath it. Planning documents are full of lines that never became sections: a topic that was dropped, a placeholder waiting for text, a heading repeated as a divider. Built into a page, each one becomes an empty heading the analyzer will flag.

The fix at outline stage is simple: if a planned section has no content, write the content, merge the line into the section above it, or delete the line. The outline is exactly the place where the gap is cheapest to close.

Write headings that describe their section

Structure decides the levels; wording is a separate job, and the analyzer cannot do it for you, because it checks structure only: levels, order and emptiness. Whether a heading's wording is good is a writing judgment it cannot make.

The standard to hold is accuracy. Headings should describe their section accurately; that naturally includes relevant terms. Stuffing keywords into every heading makes the outline useless for readers, because the outline stops telling a human what each section contains. If a heading honestly names its section, it is doing its job.

How to verify the built page, step by step

  1. Copy the page source (View Source in a browser) or any HTML fragment.
  2. Paste it into the box in the Heading Structure Analyzer, or load the small built-in example.
  3. Read the indented outline to judge whether the hierarchy makes sense, and compare it against the outline you planned.
  4. Work through the structural warnings and fix them in your CMS or template, then paste the updated HTML and check again.

The pasted HTML is parsed locally with DOMParser and never executed: scripts do not run and no external resources are loaded, so what you paste stays on your device.

Worked example: spotting a skipped level

Take an outline for a coffee guide. Planned as a list, it reads: Pour Over Coffee Guide; What you need; Grinder; Brewing steps; Water temperature; Common mistakes. Assigned by nesting, the levels look right until "Water temperature": it sits under "Brewing steps", so it was marked H4, one level too deep, because no H3 sits between them.

Pasted into the analyzer, that HTML produces a six-line outline and exactly one warning: the H2 "Brewing steps" is followed directly by an H4, skipping H3. Promoting "Water temperature" to H3 clears the warning. The content never changed; only the level did.

Limitations

The analyzer checks structure only: levels, order and emptiness. It cannot tell you whether a heading is well worded, whether a section is in the right place for readers, or whether the page is any good. Those stay writing judgments.

One practical limit matters for modern sites: pages built by JavaScript frameworks may show different headings in raw source than in the rendered page. For those, paste the rendered HTML from developer tools instead of the raw source, or you will verify an outline your visitors never receive. More checking workflows are collected in the SEO Tools guides.

Common mistakes

  • Choosing levels by appearance. A smaller-looking heading is a styling decision; making it a deeper level invents a subsection that does not exist.
  • Spending the H1 twice. The outline's title plus a template banner H1 is the usual route to a multiple-H1 warning.
  • Keeping placeholder headings. A heading with nothing under it is flagged as empty, and it tells outline readers a section exists when it does not.
  • Using styled paragraphs instead of headings. If the analyzer finds no headings, the pasted markup genuinely contains no H1 to H6 elements, which often happens when a design uses styled paragraphs: the text looks like headings, but the outline is empty. Fix it in the template.
  • Stuffing keywords into headings. Accurate descriptions carry relevant terms naturally; forced ones make the outline useless.

FAQs

Is having more than one H1 an error? HTML5 allows several H1s in separate sections, but for SEO and accessibility a single clear H1 stating the page topic is the safer, conventional choice, so the analyzer flags multiples as a warning, not a hard error.

Why do skipped heading levels matter? Screen readers and search engines read headings as a document outline. Jumping from H2 to H4 implies a missing subsection and makes navigation by heading confusing for assistive technology users.

Should headings contain keywords? Headings should describe their section accurately; that naturally includes relevant terms. Stuffing keywords into every heading makes the outline useless for readers.

What if the analyzer finds no headings? The pasted markup genuinely contains no H1 to H6 elements, which often happens when a design uses styled paragraphs instead of headings. That is worth fixing in the template.

Does the analyzer judge whether my headings are well written? No. It checks structure only: levels, order and emptiness. Whether a heading's wording is good is a writing judgment it cannot make.

Conclusion

A clean heading structure is decided at the outline stage: one H1, levels assigned by nesting, no skips, no empty headings, and wording that describes each section honestly. The build will still try to drift it, so verify the finished page rather than trusting the plan. Paste the HTML into the Heading Structure Analyzer, compare the outline it draws with the one you intended, and fix the warnings in your CMS or template.