First time here? Check out the FAQ!

Enhancement suggestion: enable HTML "kbd" tags

On the Q&A Askbot site I most regularly contribute to, I sometimes indicate keyboard input by means of the back-ticks to get the monospace font, e.g. Esc, F1, etc. However, this is the "code" markup, and is the same style as $foo = bar('baz');. It works as a "fudge", but having code and kbd visually distinct would be preferable.

I have noticed that another Q&A implementation gives both code and "kbd" options, with distinct styling. The "kbd" style simply uses the standard HTML tags (with a bit of CSS applied, of course!).

It struck me that this would be a simple but useful enhancement for Askbot, too, so note it here as a suggestion.


dajare's avatar
asked 2013-11-18 02:18:55 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


The <kbd> tag is allowed - for example see: Ctrl-C.

Evgeny's avatar
answered 2013-11-23 15:03:28 -0500
edit flag offensive 0 remove flag delete link


Sorry for delayed reaction reply: yes, the tag is allowed, but there is no distinct CSS to style it - that was more my point. Or would that be up to individual installs? (I'm active at Ask LibO, btw.)

dajare's avatar dajare (2014-03-22 04:57:16 -0500) edit
add a comment see more comments