Adding <kbd> tags into comments on questions & answers doesn't work. It just displays the HTML.



1 Answer 1


Comments don't support HTML, merely a small subset of Markdown. See: https://webapps.meta.stackexchange.com/editing-help#comment-formatting (you'll find this by clicking the "help" link under the big Add Comment button).

  • maybe it should be added. I've run into this limitation a few times when trying to deconstruct a question to help answer it. Commented Oct 23, 2012 at 2:01
  • 3
    Comments are pretty light-weight; adding HTML support (or rather, proper HTML sanitizing) probably won't happen. I suggest you go with some other sort of formatting or convention to indicate keystrokes - for instance, [Ctrl]+[F5], Ctrl+F5.
    – Shog9
    Commented Oct 23, 2012 at 2:03
  • That's a much better solution than CTRL that I was doing. Commented Oct 23, 2012 at 2:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .