Lesson 5 / 30

Headings & Paragraphs

Structure text with six heading levels and paragraphs, using one h1 and a logical order.

h1 through h6

Six heading levels, <h1> biggest/most important, <h6> smallest. <p> wraps a paragraph of text.

<h1>Main Title</h1>
<h2>Section Heading</h2>
<p>This is a paragraph of body text.</p>

One h1 per page

Use exactly one <h1> per page and nest lower levels in order (h2 before h3) — it helps both accessibility and SEO.