Back to Concepts

<main>

The dominant content of the body.

The `<main>` tag specifies the main content of a document. The content inside the `<main>` element should be unique to the document. It should not contain content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms.

Live Example & Code

Preview Output
<main><h1>Main Content</h1><p>Unique content...</p></main>
HTMLViz
© 2026 HTMLViz. Open Source Learning.