Lesson 5 / 28

Headings & Paragraphs

The two most-used text elements.

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.