Skip to content Skip to main navigation Report an accessibility issue

Headlines

Documentation

Usage: All HTML headings, <h1> through <h6>, are available. Structure your writing in sections, with cascading headline hierarchy. This will make your writing easier to scan, as well as make it more accessible and search engine friendly.

Do
  • Use headlines to define and structure your content.
  • Begin at a high-level headline, like h1. Define subsections with lower-level headlines.
Don't
  • Don’t use headlines to create emphasis. Headlines should serve as a heading of the content that follows, not a way of making text bigger.
EXAMPLE

h1. heading

h2. heading

h3. heading

h4. heading

h5. heading
h6. heading

Code

HTML
<h1>h1. heading</h1>
<h2>h2. heading</h2>
<h3>h3. heading</h3>
<h4>h4. heading</h4>
<h5>h5. heading</h5>
<h6>h6. heading</h6>