Explore Library
Code QuizAdvanced

Fix the Semantic Document Structure

Spot the semantic HTML mistake in a basic page layout using landmark elements.

Codehtml
<body>
  <header>
    <h1>My Blog</h1>
    <nav><a href="/">Home</a></nav>
  </header>

  <main>
    <article>
      <h2>First Post</h2>
      <p>Hello world.</p>
    </article>
  </main>

  <main>
    <aside>Related links</aside>
  </main>

  <footer>
    <p>&copy; 2024</p>
  </footer>
</body>

This layout uses semantic landmarks but breaks a structural rule. What is the bug?