Heading Tags Definition

Heading tags are the HTML elements <h1> to <h6> used to mark the titles and subtitles of a web page. They create an outline: the H1 is the main title, H2s introduce the main sections, H3s introduce sub-sections, and so on.

Headings help visitors scan a page, help screen reader users navigate it, and help search engines understand what each part of the content is about. They are one of the simplest on-page elements to get right, and one of the most often misused.

heading tags definition

What Are Heading Tags?

HTML defines six levels of headings, from <h1>, the most important, to <h6>, the least. In a typical page:

  • H1: the main title of the page, usually one per page, describing the whole topic.
  • H2: the main sections, such as “How it works” or “Prices”.
  • H3: sub-sections inside an H2, such as each step or each option.
  • H4 to H6: deeper levels, rarely needed on most pages.

Headings are a matter of structure, not appearance. A heading’s size and colour are set with CSS; a big bold sentence that is not marked as a heading is not a heading for browsers, assistive technologies or search engines.

📌 In brief
Heading tags definition: what H1 to H6 tags are, how they structure a page for readers, screen readers and Google, and how to write headings that help SEO.
On the menu:
  • How Search Engines Use Headings
  • Why Heading Tags Matter for SEO
  • The H1 Tag
  • How to Write Good Headings
  • Good and Weak Headings
By SeoYass, SEO consultant since 2010 · Updated on

How Search Engines Use Headings

Google uses headings, along with the rest of the content, to understand the topics of a page and of each section. Its documentation on title links lists heading elements among the sources Google may use to generate the title shown in results, and recommends making the main title the most prominent text, for example in the first visible <h1>.

Google has also clarified some myths in its SEO starter guide: having headings in semantic order is excellent for screen readers, but from a Google Search perspective it does not matter if they are used out of order, and there is no ideal number of headings per page. Headings help because they clarify content, not because of a strict formula.

Why Heading Tags Matter for SEO

  • Topic clarity: descriptive headings tell search engines what each section covers, which helps the page match related queries and sub-questions.
  • Passage selection: clear headings make it easier for search engines and AI systems to identify the passage that answers a specific question, which matters for featured snippets and AI answers.
  • User experience: most visitors scan before reading; headings let them find the part they need quickly.
  • Accessibility: screen reader users often jump from heading to heading to navigate a page.

The H1 Tag

The H1 is the main heading of the page. Good practice is to have one clear H1 that describes the page’s topic and matches the visitor’s search intent. It can be close to the title tag without being identical: the title tag is written for search results, the H1 for visitors already on the page.

Several H1s on a page are technically valid HTML and Google says it can handle them, but a single H1 keeps the structure clear for everyone.

How to Write Good Headings

  1. Describe the content of the section: “Flat Roof Repair Prices in Leeds” is more useful than “Our Offer”.
  2. Use the words people search for, naturally, without repeating the same keyword in every heading.
  3. Keep them short, generally under 70 characters.
  4. Follow a logical outline: H2s for main sections, H3s inside them.
  5. Use questions when they match real queries, then answer them in the first sentences of the section.
  6. Make each heading make sense alone, since it may be read out of context by a screen reader or a search engine.

Good and Weak Headings

Weak Better
Welcome Emergency Plumber in Bristol, 24/7
Our services Boiler Repair, Leak Detection and Drain Unblocking
Info How Much Does a Boiler Repair Cost?
Plumber Bristol Plumber Bristol Cheap Why Choose a Local Plumber

Headings and Accessibility

The W3C’s Web Accessibility Initiative recommends using headings to convey the structure of the content, nesting them by rank, and not skipping levels when possible, such as jumping from H2 to H5. Screen readers can list all headings of a page and let users jump directly to a section, so a coherent outline saves them a lot of time. Headings should not be used just to make text bigger, and visual titles should be real heading elements.

Headings in WordPress and Page Builders

In WordPress, the block editor’s heading block lets you choose the level. In page builders such as Divi, text modules contain headings, and many modules (call to action, blurb, toggles) have their own title setting with a choice of heading level. Common issues include themes that wrap the logo or site name in an H1 on every page, sidebar widget titles set as H2 or H3 before the main content, and decorative text set as headings only for its style. Inspect the page’s heading outline with a browser extension or an SEO crawler to see the real structure.

Example: A Wedding Florist's Page

A wedding florist in Bath has a page whose only heading is “Welcome to our world of flowers”, with all other titles set as bold paragraphs. The page is restructured: H1 “Wedding Flowers in Bath”, then H2s “Bridal Bouquets”, “Ceremony and Venue Flowers”, “Prices and Packages”, “How We Work With You” and “Questions Couples Ask”, with H3s for each type of bouquet. Visitors now find the prices in seconds, screen reader users can jump between sections, and each section clearly signals its topic to search engines.

Common Mistakes

  • No H1, or an H1 that contains only the logo or a vague slogan.
  • Headings used for styling instead of structure.
  • Keyword stuffing in headings, repeating the same phrase everywhere. See keyword stuffing.
  • Vague headings such as “More”, “Info” or “Details”.
  • Huge walls of text with no headings at all.
  • Theme elements as headings, such as widget titles, footer labels or the site name.

Heading Tags: Key Takeaways

Heading tags, from H1 to H6, structure a page into a clear outline. Use one descriptive H1 for the main topic, H2s for main sections and H3s for sub-sections, written with the words people search for and without stuffing. Google says order and number are not strict ranking rules, but clear headings help visitors scan, help screen reader users navigate and help search engines understand and select the right passages. See also meta tags.

From theory to well-structured pages

Knowing what heading tags are is the first step. The next is checking that each of your key pages has a clear, descriptive outline.

  • An action plan adapted to your situation
  • Clear explanations, no needless jargon
  • Direct application to your sector
Heading TagsDefinitionCustomers ↑
// RESULTS & REFERENCES

From diagnosis to results, step by step

Here is how I handle heading tags issues on client sites, and what my clients say about my work.

+350COMPLETED PROJECTS
+320SATISFIED CLIENTS
5.0 ★VERIFIED GOOGLE REVIEWS
+17YEARS OF EXPERIENCE
001REFERENCES / VERIFIED REVIEWS

What Are Heading Tags?

HTML defines six levels of headings, from <h1>, the most important, to <h6>, the least. In a typical page:

EXPERTISEMETHODFIELD WORK
11ACTIVE PROJECTS
5.0GOOGLE RATING
READ THE REFERENCES →
002PORTFOLIO / PROJECTS

How Search Engines Use Headings

Google uses headings, along with the rest of the content, to understand the topics of a page and of each section. Its documentation on title links lists heading elements…

EXPERTISEMETHODFIELD WORK
6-12MONTHS FOR SOLID RESULTS
+350COMPLETED PROJECTS
VIEW THE PORTFOLIO →
003METHOD / EXPERTISE

Why Heading Tags Matter for SEO

Topic clarity: descriptive headings tell search engines what each section covers, which helps the page match related queries and sub-questions.Passage selection: clear…

EXPERTISEMETHODFIELD WORK
100%POSITIVE REVIEWS 2026
11ACTIVE PROJECTS
SEE MY SEO SERVICES →
WANT TO BE THE NEXT CASE?Tell me about your project and I will reply with a first diagnosis.
SEND A BRIEFFREE MINI-AUDIT

FAQ: Heading Tags

What are heading tags?

HTML elements from h1 to h6 that mark the title and subtitles of a page, creating an outline of its content.

Are heading tags a ranking factor?

They help Google understand the topics of a page and its sections. Google says their order and number are not strict rules; clarity is what helps.

Can a page have more than one H1?

It is valid HTML and Google can handle it, but one clear H1 keeps the structure simpler for users and search engines.

Should the H1 be the same as the title tag?

They can be similar. The title tag is written for search results and the H1 for visitors on the page, so small differences are normal.

Is it bad to skip heading levels?

Google says the order does not matter for Search, but accessibility guidelines recommend a logical order without skipping levels when possible.

How many headings should a page have?

There is no ideal number. Use as many as the content needs to be easy to scan, typically one per main section and sub-section.

Do you want to work with me?

Please support me by sharing this content:
SeoYass, SEO consultant17+ years of SEO
Your SEO consultant
SeoYass
I am SeoYass, an SEO expert with over 17 years of experience. I have worked with small and medium-sized businesses, successfully completing more than 350 projects.Passionate about local SEO, I continue to learn and refine my strategies to deliver the best performance for my clients.
350+Projects
5.0 ★Google reviews
17+Years of experience