CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <main> element

The <main> Element

Content SectioningNew in HTML5

Use the <main> element to contain the dominant content of a document, such as the topic of the document.

Attributes for <main>
TypeAttribute List
'Standard' Attributes(none)


  • The content of <main> should be unique to the document. It should not contain content that is repeated across pages, like header, footer, navigation, or side content.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem