Https://www.codecademy.com/paths/web-development/tracks/learn-html-web-dev-path/modules/learn-semantic-html/lessons/semantic-html/exercises/main-and-footer

Is the below code semantic? I have this doubt because I have used the header tag twice. Once for creating primary navigation and another time for creating headlines inside the article. Is it okay to use header tag and other tags multiple times? Please let me know.

<html>
  <body>
 <header>
      <h1>Navigational Links</h1>
      <nav>
        <ul>
          <li><a href="#home">Home</a></li>
          <li><a href="#posts">Posts</a></li>
          <li><a href="#contact">Contact</a></li>
        </ul>
      </nav>
    </header>
<main>
  <header>
    <h1>Types of Sports<h1>
  </header>
  <article>
    <h3>Baseball</h3>
    <p>
      The first game of baseball was played in Cooperstown, New York in the summer of 1839.
    </p>
  </article>
</main>
 </body>
</html>

Hey @coursejumper59472, welcome to the forums!

Yes, I would say this is completely okay. Although I would recommend only using one header tag for each section. So I wouldn’t put two header tags inside of the same section, main, etc, etc, etc.