14. What is the purpose of the main element?
<main> represents the dominant content of the document. Content repeated across pages such as primary navigation and site-wide footers generally should not be placed inside main.
Key Takeaways
- Use main for the dominant document content.
- Avoid putting repeated site-wide content inside main.
Knowledge Check
What does main represent?