Sub topic 1
Typographic Hierarchy in Layouts: Headlines, Subheads, and Body Text
Prerequisites
Assume you know basic typography terms: typeface, font size, weight, and italic. You should also be familiar with a layout tool or basic HTML and CSS.
Why hierarchy matters: guiding the reader's eye
Typographic hierarchy is the system that shows readers what to notice first, what to scan next, and what to read closely. A layout without hierarchy gives every text element similar visual priority. Readers must then work harder to find the main idea.
Hierarchy comes from several cues:
- Size separates major information from supporting information.
- Weight and style add emphasis within a level.
- Spacing groups related text and separates different sections.
- Line length and line height affect reading comfort.
- Color can support hierarchy, but must still provide enough contrast.
A useful reading path is usually headline, subhead, then body text. The design should make that path clear without requiring labels or instructions.
> callout tip > Hierarchy is relative. A headline does not need to be large in isolation; it needs to be clearly more prominent than the text around it.
Using size contrast to rank information
Size contrast creates the strongest initial ranking. A headline might be 2.4 times the body size, while a subhead might be 1.5 times the body size. The exact values depend on the typeface, viewport, and content, but adjacent levels should remain visibly distinct.
Avoid assigning a different size to every small element. Too many levels make the hierarchy difficult to learn. Use a small, repeatable set instead.
Body text: choosing the baseline
Body text is the baseline because most content is read at this level. Start with a comfortable size, commonly 1rem in CSS, then set line height and line length. A unitless line height around 1.5 often works well. A paragraph measure near 65 characters per line reduces tiring horizontal eye movement.
body {
font-size: 1rem;
line-height: 1.5;
}
p {
max-width: 65ch;
}Building a type scale from a base size and ratio
A type scale applies a ratio repeatedly to a base size. With a base of 1rem and a ratio of 1.25, each level grows predictably:
:root {
--step-0: 1rem;
--step-1: 1.25rem;
--step-2: 1.563rem;
--step-3: 1.953rem;
--step-4: 2.441rem;
}
body { font-size: var(--step-0); }
h3 { font-size: var(--step-1); }
h2 { font-size: var(--step-2); }
h1 { font-size: var(--step-4); }Exercise
If body text is 1rem and the scale ratio is 1.25, which size should be used for the next level?
Show answer
1.25rem. Multiply the base size by the ratio once.