Skip to content
HTML.ONE
Home HTML Elements

HTML <main> Element

Represents the dominant content of the document. Typically use one visible main element.

Example

<main><h1>Article</h1><p>Content</p></main>

Further reference

HTML Living Standard

Live preview