: The MAIN Element
Last updated: 2026-09-12
<main>The MAIN Element
Represents the dominant content of the document, unique and excluding repeated nav/sidebar/footer content.
| Category | Semantic |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </main> tag |
| Status | Standard |
📝 Syntax
<main>main content</main>
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <main> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: Use exactly one main per document; it must not be a descendant of article/aside/footer/header.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.