DEV Community

loading...

Discussion on: 3 HTML tags you’ve never heard of or used before

Collapse
leob profile image
leob

Yeah one cannot help but wonder why these tags were ever invented.

Collapse
urielbitton profile image
Uriel Bitton Author

lol yep

Thread Thread
rhymes profile image
rhymes

For semantics I guess

<code> is generic as it can contain anything
<kbd> tells the browser and screenreaders something

Some like <samp> might be redundant?

Thread Thread
mzaini30 profile image
Zen

Oh. I forgot about screenreaders.