DEV Community

Discussion on: Semantic elements in HTML

Collapse
 
dmbaturin profile image
Daniil Baturin

We shouldn't forget semantic inline elements too. They also play a role in accessibility.
It helps that most non-semantic inline elements are deprecated and forgotten now, like <b> or <i>. However, there still are abominations like <span class="bold"> in the wild.
Elements like <strong> or <em>, <address>, <abbr> say what their content is and you still can style them however you want.