freecourses.digital
Lesson progress: 0 of 3 activities done
All lessons in HTML Basics for Beginners Lesson 9.2 of 34

Module 10: Practice Project and Validation

  1. 10.1Build a simple HTML website

Heading hierarchy and content structure

What we will go through

  • How headings shape content structure
  • Planning an outline from search intent
  • Writing descriptive subheadings
  • Structure that helps skimmers and featured snippets

Short answer

A clear heading hierarchy, one <h1> for the main topic and <h2> and <h3> for subtopics, helps readers skim and helps search engines understand what each part of a page covers. Plan headings from the questions searchers ask, write them as clear labels, and put the answer right below each one.

Headings as the page outline

Search engines do not count headings for points, but they use them to understand which topics a page covers and where. People do the same: most visitors skim headings first, then read the part they need. A good outline serves both.

Plan from search intent

Search intent is the reason behind a search. Before writing, list the questions people ask about the topic. Look at Google’s People also ask box and related searches.

<h1>Pili Tarts: Prices, Delivery, and How to Order in Legazpi</h1>
  <h2>How much are pili tarts?</h2>
  <h2>Where do we deliver?</h2>
    <h3>Same day delivery areas</h3>
    <h3>Next day delivery areas</h3>
  <h2>How to order</h2>
  <h2>How long do pili tarts last?</h2>

Indentation here only shows the levels. Each question becomes a heading, and each heading gets a direct answer.

Write descriptive subheadings

VagueDescriptive
IntroductionWhat is laing?
More infoHow to store pili nuts
Section 2Delivery fees by town

A heading should make sense if read alone, like in a screen reader’s heading list or Google’s jump to links.

Answer first, then explain

Put a one or two sentence answer directly under each question heading, then add details. This answer first pattern helps skimmers, voice search, featured snippets, and AI search tools that pull short answers from pages. Use lists for steps and tables for comparisons, since Google often shows those as snippets too.

Try it: restructure a page

This page has vague headings and broken levels. Rewrite the headings as questions people ask about Cagsawa Ruins, with one h1 and h2s below it.

Live preview

Quick quiz

1. What is search intent?
2. Where can you find questions to use as headings?
3. What goes right under a question heading?
4. Which subheading is best?

Common mistakes

  • Headings as decoration. Styling text as a heading breaks the outline.
  • Keyword-stuffed headings. Write for people. Repeating keywords hurts readability.
  • Burying the answer. Long intros before the answer lose skimmers.

Your action

Tick each item when you can do it. Your progress saves on this device.

Key terms

Heading hierarchy
The ordered levels of headings on a page.
Search intent
The goal behind a search query.
People also ask
A Google box of related questions.
Featured snippet
A highlighted answer at the top of Google results.
Answer first
Leading each section with a direct answer.

Questions beginners ask

Should the h1 contain my keyword?

Yes, naturally. It should describe the page topic clearly.

How many h2s is too many?

There is no limit. Use as many as the topic needs.

Do headings help AI search?

Clear question headings with direct answers make content easier for AI tools to quote.

Related lessons

Need a website built or fixed while you practice? The team at Remar Digital can help.