what is semantic elements code example

Example 1: semantic elements

HTML has both non-semantic and semantic elements.
"Semantic" in HTML terms just means more specific

<div> and <span> are not semantic because they tell you nothing about their
contents, however, elements such as <article>, <figure>, <footer>, etc. are
semantic because they tell you exactly what they contain.

Example 2: Semantic Element

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

Tags:

Html Example