Semantic HTML
noun
say it: “suh-MAN-tik AYCH-TEE-EM-EL” /səˈmæntɪk ˌeɪtʃ tiː ɛm ˈɛl/
Choosing HTML elements for what the content means, such as nav, header and article, not just how it looks.
What is Semantic HTML?
Semantic HTML — HTML that chooses elements for the meaning and structure of their content.
<article>
<h2>Community garden opens</h2>
<p>The garden opens Saturday.</p>
</article>
In a sentence
- “With semantic HTML, screen readers know the nav holds the menu.”
Level: Apprentice · More HTML terms at this level
Updated