HTML · Page structure

main

The unique, central content of the page. There should be exactly one main element and it must not include repeated site chrome.

Syntax
<main>…</main>

Example

Try it

More in this group

address article aside div footer h1–h6 header hgroup

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course