+ 2
What is an HTML5 semantic element?
2 Réponses
+ 5
A semantic element clearly describes its meaning to both the browser and the developer.
Examples of non-semantic elements:
<div>and <span> - Tells nothing about its content.
Examples of semantic elements:
<form>, <table>, and <article> - Clearly defines its content.
+ 2
<section>, <nav> are also semantic.