+ 2
[DUPLICATE] What are semantic elements in HTML?
2 Answers
+ 20
A semantic element clearly describes its meaning to both the browser and the developer.
Learn more:
https://www.w3schools.com/htmL/html5_semantic_elements.asp
https://developer.mozilla.org/en-US/docs/Glossary/Semantics
Similar threads:
https://www.sololearn.com/discuss/671513/?ref=app
https://www.sololearn.com/discuss/758314/?ref=app
https://www.sololearn.com/discuss/264937/?ref=app
https://www.sololearn.com/discuss/631199/?ref=app
+ 1
Those are elements like <strong> and <em>. They put semantic into their content, versus tags like <b> and <i> which describe how the content should be drawn. Semantic allows different apps to interpret the content how they prefer to. For instance, a <strong>text</strong> would appear bold (just as with <b>text</b> in most browsers, but a browser for sight impaired users would treat them differently, like by reading "text" aloud. If that doesn't make enough sense to you, please let me know and I'll elaborate further.