SEO glossaryHeading tags (H1 to H6) mark the headings in a page's HTML. They give the page a clear outline for readers, screen readers, and search engines.
Heading tags are the HTML elements <h1> through <h6>. They mark text as a heading and say how important it is: an h1 is the main heading of the page, an h2 starts a major section, an h3 a subsection within it, and so on down to h6. Together they form the page's outline, much like the table of contents of a book.
Why they matter
- Readers scan headings to decide whether a page answers their question and to jump to the part they need.
- Screen reader users rely on them even more: assistive technology lets people list a page's headings and move between them, so a clear heading structure is a core part of accessibility.
- Search engines use headings, along with the rest of the page, to understand what each section is about. Clear headings can also help a section get picked for a featured snippet.
Headings are not a magic ranking lever. Keywords in an h2 will not lift a weak page, but a well-organized page tends to serve readers better, and that is what search engines are trying to reward.
How to use heading tags well
- One clear main heading. Use an
h1that says what the page is about. Google has said multipleh1s do not cause problems, but one is clearer for readers and assistive technology. - Keep the order logical. Put
h3s insideh2sections, and avoid skipping levels (for example, jumping fromh2toh4) just to get a smaller font. - Write descriptive headings. "Shipping costs" tells a reader more than "More info". Use the words people would use; that naturally includes your keywords without stuffing them.
- Use headings for structure, not style. If text only needs to look big or bold, style it with CSS. If something is a heading, mark it as one even if you style it small.
- Keep them short. A heading is a signpost, not a paragraph.
Headings in WordPress
In most WordPress themes, the post or page title is output as the h1, so the content itself should start at h2. The Heading block in the block editor defaults to H2, and its toolbar lets you change the level. A few things to check:
- Page builders and some themes use heading tags for decorative text, such as section labels and footer titles, which clutters the outline. Change those to paragraphs or adjust the theme.
- Some themes output the site name as an
h1on every page in addition to the post title. Not harmful, but it is worth fixing in a custom theme. - Browser extensions and accessibility checkers can show a page's heading outline, which makes skipped levels and missing headings easy to spot.
Headings are part of the page's HTML and of its visual hierarchy. For the full specification, see MDN's reference on heading elements.