Heading
A heading shows text at different sizes and styles.
When to use
- Naming a section of a page. Headings give the page its outline.
- Anywhere people need to find a section without reading everything.
When not to use
- To make text bigger. Every heading adds to the page outline, so an extra one breaks it.
- For a whole paragraph. A heading should be a short name for a section.
- As a label on a control. That is a label.
Guidance
Do
Working hours
Exceptions
Choose the level for the structure and the size for the look. A smaller subsection can still be the next level down.
Don't
Working hours
Exceptions
Do not skip levels to get a size. Jumping from h2 to h5 leaves gaps in the outline, and screen readers treat them as missing sections.
Content
What to write, and what to leave out.
- Name the section in as few words as possible.
- Sentence case.
- No full stop.