Headings in HTML
Headings are the outline of a document, not a way to change font size.
<h1>Touch typing for programmers</h1>
<h2>Why tokens beat words</h2>
<h3>Counting brackets</h3>
<h3>Counting keywords</h3>
<h2>Choosing a language</h2>
<h3>Starting with basics</h3>
How it works
- One
h1names the page;h2and below nest under it. - Never skip a level to get a smaller heading — style it with CSS.
- Screen readers and search engines both read this outline.
The run, in numbers
- Lines
- 6
- Characters to type
- 181
- Tokens
- 48
- Three-star pace
- 60 tpm
At the three-star pace of 60 tokens a minute, this run takes about 48 seconds.
Step 1 of 7 in Text & headings, step 4 of 28 in Document structure.