Sub topic 1
Why hierarchy matters: guiding the reader's eye
Readers rarely read a page from top to bottom. They scan first, then decide where to slow down. Typographic hierarchy is the set of cues that makes this scan work. Size, weight, spacing, and color tell the reader which text matters most and in what order to read it. This chapter explains the working model. Later chapters cover each cue in detail.
Prerequisites
This chapter assumes you know the basic vocabulary of type: typeface, font size, weight, and italic. It also assumes you can read simple HTML and CSS, or that you have used a layout or design tool. You don't need to write code to follow the ideas.
What hierarchy does
A layout with no hierarchy looks like a wall of equal text. The reader must read every line to find out what the page is about. A layout with hierarchy answers three questions at a glance:
- What is this page about?
- How is it organized?
- Where do I start reading the details?
Three text roles share this work:
- Headline: the entry point. It states the main idea and is the largest, most prominent text.
- Subhead: a marker for each section. It lets the reader scan the structure and jump to the part they need.
- Body text: the detail. It is the baseline that every other level is measured against.
The cues that create hierarchy
Hierarchy comes from contrast between levels. If two levels look nearly the same, the reader can't tell them apart. These are the main cues:
| Cue | What it signals | Example |
|---|---|---|
| Size | Rank. Larger text reads as more important. | Headline at 2.4rem, body at 1rem |
| Weight and style | Emphasis within a level or between levels | Bold subheads, italic captions |
| Spacing | Grouping. Close items belong together. | More space above a subhead than below |
| Color and contrast | Priority and legibility | Dark text on a light background, muted gray for metadata |
Size is usually the strongest cue, so most layouts start there. The other cues support it. Using all of them at once is a common error. A heading that is huge, bold, red, underlined, and in capitals competes with itself and clutters the page.
The reading order
The cues together produce a reading order. The eye lands on the largest, highest-contrast element, usually the headline. It then moves to the subheads, and finally settles into body text where the reader chooses to dig in.
The loop from body text back to subheads matters. Readers move back and forth, so subheads must stay easy to find.
A minimal example
The HTML below expresses the hierarchy in the markup. Heading elements carry the structure, so CSS can style each level and assistive technology can navigate by headings.
<article>
<h1>Headline states the main idea</h1>
<p class="lead">A short intro sentence in slightly larger text.</p>
<h2>Subhead introduces a section</h2>
<p>Body text carries the detail.</p>
</article>Choose heading levels for structure, not for looks. If you need a smaller heading, change the CSS, and don't skip from h1 to h4.
Common errors
- Making all levels close in size, so the scan shows no structure.
- Using more space below a subhead than above it, which attaches it to the previous paragraph.
- Using bold for everything, so nothing stands out.
- Choosing heading tags for their default size instead of their meaning.
Exercise
A page has a 1.1rem headline, 1rem subheads, and 1rem body text. All three are the same weight. Name the problem and one change that would fix it.
Show answer
The levels have almost no contrast, so a scan reveals no structure. Increasing the size gap, for example a 2.4rem headline and 1.5rem subheads, or giving subheads a heavier weight, would separate the levels. Adding more space above each subhead than below it would help group it with its section.