It is used to indicate the main content of a document. There can only be one per document (unless it has the
hidden attribute) and it cannot descend from an
Its content must be unique, it must not include elements that are repeated in other documents such as sidebars, links to navigate, copyright information, site logos, search forms ...
It does not contribute to the outline of the document, so it is purely informative.
It has an implicit ARIA role
main, although to maintain compatibility with older browsers the redundant formula of
<main role = "main"> can be used.
- Type: block
- Self-closing: No
- Semantic value: Yes