×

html · level 1 · unit 1 · lesson 3

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

There are six levels of , <h1> to <h6>.

A heading is a title for your page or for one part of it. HTML has six levels, from <h1> down to <h6>. The lower the number, the more important the heading.

<h1> is the main title, like the name on the front of a book. Use one per page. <h2> marks each chapter, <h3> the parts inside a chapter, and so on.

Pick a level for its place in the page, not for how big it looks. Think chapters, not sizes.

<h1>My holiday</h1>
<h2>Day one</h2>
<h3>The beach</h3>
<h2>Day two</h2>

Press show my page to see it here.

Headings with a bigger number come out smaller on the page.