← All tutorials

GoCareerGo Tutorials

HTML Tutorial

Tags, attributes, HTML5 APIs and semantic markup — the web's foundation.

Semantic Elements

HTML5 added elements that describe MEANING, not just appearance — header, nav, main, article, section, aside, footer.

<header>...</header>
<nav>...</nav>
<main>
  <article>
    <section>...</section>
  </article>
  <aside>...</aside>
</main>
<footer>...</footer>
  • Improves accessibility — screen readers understand page structure
  • Improves SEO — search engines weight semantic sections differently than generic divs
  • article = self-contained content; section = a thematic grouping within it