1.3. Structure the main content area with <main role="main">

The main content area of the page must be marked up with <main role="main">.

Warning

A page must contain only one visible <main role="main"> tag.

<header role="banner">[…]</header>
<nav role="navigation">[…]</nav>
<main role="main">[…]</main>
<footer role="contentinfo">[…]</footer>

Find out more

2 comments

Add a comment

All fields are mandatory.

Back to top