Skip to content
Justice Tech School

HTML Headings

HTML has six heading levels, h1 to h6. Use one h1 for the main title, then lower levels in order. Headings give a page structure for readers and search engines.

Example
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h6>Heading 6</h6>

Exercise

Make the main title.

<>My Page</h1>

Quiz Test

Which is the most important heading?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.