I use <code> for these tags. Hehehehe...
<code>
Yeah one cannot help but wonder why these tags were ever invented.
lol yep
For semantics I guess
<code> is generic as it can contain anything <kbd> tells the browser and screenreaders something
<kbd>
Some like <samp> might be redundant?
<samp>
Oh. I forgot about screenreaders.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use
<code>
for these tags. Hehehehe...Yeah one cannot help but wonder why these tags were ever invented.
lol yep
For semantics I guess
<code>
is generic as it can contain anything<kbd>
tells the browser and screenreaders somethingSome like
<samp>
might be redundant?Oh. I forgot about screenreaders.