Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

HTML Semantic Elements

Semantic elements are HTML elements that carry inherent meaning or convey a specific purpose within the structure of a web page.

What are Semantic Elements?

Semantic elements provide clear meaning to both browsers and developers about the content they contain.

For instance, while non-semantic elements like <div> and <span> lack inherent meaning about their content, semantic elements such as <form>, <table>, and <article> clearly define the type and purpose of their content.

Semantic Elements in HTML

Numerous websites utilize HTML code such as <div id="nav">, <div class="header">, and <div id="footer"> to designate navigation, header, and footer sections.

HTML offers semantic elements specifically designed to delineate various components of a webpage.

  • <article>
  • <aside>
  • <details>
  • <figcaption>
  • <figure>
  • <footer>
  • <header>
  • <main>
  • <mark>
  • <nav>
  • <section>
  • <summary>
  • <time>

IMG_2806