semantic html mdn code example

Example 1: html semantic tags mozilla

These are some of the roughly 100 semantic elements available:

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

Example 2: html semantic

<div></div>
    <span></span>
    <hr> <!-- horizontal rule is a divider -->
    <br> <!-- break make a break line -->
    <sup></sup> <!-- superscript add a notation (upp) -->
    <sub></sub> <!-- subscript add a notation (down) -->
    &lt; <!-- &; is used to print special or reserved character 
    &lt; = “<” and &gt; = “>” -->

Tags:

Html Example