Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Explainers · Explainer

What Are H4, H5 and H6 in WordPress? When to Use Lower Headings

What Are H4, H5 and H6 in WordPress? When to Use Lower Headings

Short answer

H4, H5 and H6 are the fourth, fifth and sixth heading levels in HTML, which WordPress offers in the Heading block. They label smaller sub-sections nested under H3 headings, such as details inside a step or a feature. Most posts only need H2 and H3, so use H4 to H6 only when your outline genuinely has deeper levels.

Key takeaways

  • WordPress pages use H1 for the title, then H2 to H6 for nested sections.
  • H4 sits under an H3, H5 under an H4, and H6 under an H5.
  • Choose heading levels by structure, never by font size.
  • Skipping levels can confuse screen reader users and readers who skim.
  • Most articles need only H2 and H3; deep levels suit long documentation.

What are H4, H5 and H6 headings?

H4, H5 and H6 are the lowest three of the six HTML heading levels, used to label sub-sections nested inside higher headings, with H6 being the deepest level available.

HTML defines six heading elements, from h1 to h6. Each level marks a section inside the level above it, like chapters, sections and sub-sections in a book.

MDN's reference for heading elements describes all six levels and how browsers and assistive technology use them.

In WordPress you choose these levels in the Heading block. The theme decides how each level looks.

How does the heading hierarchy work in WordPress?

The post or page title is usually the H1, the main sections inside the content are H2, their sub-sections are H3, and H4, H5 and H6 go further down the same outline.

LevelTypical useExample
H1Page or post titleHow to Start a Garden
H2Main sectionsChoosing a site
H3Sub-sectionsSunlight
H4Details inside a sub-sectionMorning sun vs afternoon sun
H5Rarely needed detailShade-tolerant herbs
H6Deepest detailSpecific variety notes

Most themes print the title as H1 automatically. That is why content headings normally start at H2.

Our guide on adding an H1 tag in WordPress explains how themes handle the title heading and how to check it.

When should you use H4 headings?

Use an H4 when an H3 section has its own sub-parts that need labels, such as separate options inside one step, or separate details inside one feature.

A product comparison is a good example. Each product might be an H3, with H4 headings for pros, cons and pricing inside it.

If an H3 section is short, it rarely needs H4s. Bold text or a list may be clearer.

If you find many H4s everywhere, check whether some of your H3 sections should really be H2 sections instead.

When are H5 and H6 useful?

H5 and H6 are mainly useful in long technical documentation, reference pages and legal or policy documents that genuinely have five or six levels of nested sections.

Typical blog posts and business pages almost never need them. Very deep nesting is hard to read on any screen.

If you need H5 or H6, consider splitting the page. Several focused pages are often easier to read and easier to rank.

Some themes style H5 and H6 smaller than body text. That is a styling choice and does not change their meaning.

How do you add H4, H5 or H6 in the block editor?

Add a Heading block, then use the level selector in the block toolbar to choose H4, H5 or H6; you can also change an existing heading's level the same way.

Type a slash followed by heading to insert the block quickly, then pick the level from the toolbar.

The official Heading block documentation shows the level selector and the block's other settings.

In the classic editor, headings are in the paragraph format dropdown. H4 to H6 appear below H3 in that list.

How do you check your heading outline?

Open the Document Overview panel from the editor toolbar and select the Outline tab, which lists every heading in the content and flags skipped levels.

This is the fastest way to spot an H4 that sits directly under an H2.

Can widgets and footers use H4 headings?

Yes. Many themes use H4 or similar levels for widget and footer titles, because they are minor labels outside the main content outline.

Check your theme's output in the browser's developer tools if you care about the overall heading order on the page.

Should you pick heading levels by size?

No. Choose the level that matches the structure, then change the look with the block's typography settings or theme styles if you want it bigger or smaller.

A common mistake is choosing H4 because it looks nice in a sidebar or card. Screen readers and search engines read the level, not the size.

If you want large text that is not a heading, use a Paragraph block with a bigger font size.

Our guide on changing fonts in WordPress shows where global heading styles are set.

Do H4, H5 and H6 matter for SEO?

They matter a little, as part of a clear structure that helps search engines understand the page, but lower headings carry far less weight than your title and main section headings.

Google's SEO Starter Guide recommends headings that help readers follow the content, rather than any fixed heading pattern.

Do not stuff keywords into H4 to H6 headings. Write them for readers first.

Clear headings also help AI search tools pull accurate answers from a page. Our guide on appearing in Google AI Overviews explains why structure matters.

Why does skipping heading levels matter?

Screen reader users often navigate by headings, so jumping from H2 straight to H4 suggests a missing section and makes the page harder to understand.

The W3C's tutorial on page structure headings explains how people use heading levels to move around a page.

Going back up is fine. After an H4, the next heading can be an H2 when a new main section starts.

Our guide on making WordPress accessible covers headings alongside other quick accessibility wins.

How do themes style H4, H5 and H6?

Each theme sets font size, weight, spacing and color for every heading level, and block themes let you change those styles globally in the Site Editor.

Go to Appearance > Editor > Styles > Typography > Headings to adjust H4, H5 and H6 sizes in a block theme.

Classic themes may offer heading options in the Customizer, or you can add custom CSS.

Keep the visual hierarchy consistent. H4 should look smaller than H3, so readers sense the nesting.

How do heading levels affect a table of contents?

Most table of contents blocks and plugins build their list from your headings, and you can usually choose which levels to include, often H2 and H3 only.

Including H4 to H6 can make the list long and hard to scan. Keep deep levels out unless readers need them for navigation.

Our guide on adding a table of contents in WordPress shows how to set the heading levels it uses.

What is a good heading structure for most posts?

Use one H1 title, H2s for each main section, H3s for parts within them, and H4s only where a section clearly has its own sub-parts.

Read your headings alone, top to bottom. If they make sense as an outline, the structure is working.

Keep headings short and descriptive. Aim for headings that still make sense when read out of context, such as in a table of contents or a search snippet. Question-style headings often work well for guides and FAQs.

Frequently asked questions

What is an H4 heading in WordPress?

An H4 is the fourth heading level. It labels a smaller sub-section nested under an H3, such as the pros and cons inside one product review section.

Do I need to use H5 and H6 headings?

Usually not. Most posts only need H2 and H3. H5 and H6 suit long technical or reference documents with many nested levels.

Is it bad to skip from H2 to H4?

It is best avoided. Skipped levels suggest missing sections and make navigation harder for screen reader users. Use H3 between them instead.

How do I change a heading to H4 in WordPress?

Select the Heading block, open the level selector in the block toolbar and choose H4. The text stays the same while the level changes.

Do H4 to H6 headings help SEO?

A little, as part of a clear structure. They carry less weight than the title and main headings, so write them for readers rather than keywords.

Sources

  1. Heading elements MDN Web Docs
  2. Heading block WordPress.org Documentation
  3. SEO Starter Guide Google Search Central
  4. Headings W3C Web Accessibility Initiative

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.