Semantic Tags in HTML5?

Semantic tags describe the meaning of the content.
Examples:

  • <header> → page header
  • <nav> → navigation links
  • <article> → independent content
  • <footer> → page footer

✔ Example:

<header>My Website</header>
<nav>Home | About | Contact</nav>
<article>
  <h2>Blog Post</h2>
  <p>This is a blog post.</p>
</article>
<footer>© 2025 MySite</footer>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *