What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

This question already has an answer here:

Some of the questions / answers here have cool images of a key to press, like Esc, but it looks like a key.

How do I do that? I cannot see it documented in the editing FAQ or in http://superuser.com/editing-help or in the Markdown documentation.


Update:

With the answers below, this should do it: <kbd>Ctrl</kbd>

Ctrl

And it does!

It also seems that the request to add this to the documentation has not yet been completed.

share|improve this question

migrated from superuser.com May 6 '10 at 3:19

This question came from our site for computer enthusiasts and power users.

marked as duplicate by Shadow Wizard, Martijn Pieters, hims056, Aziz Shaikh, Stijn Jun 16 at 11:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
For any post, even if there's not been any edit yet: see http://superuser.com/posts/<id>/revisions and then click "view source". –  Arjan May 6 '10 at 5:49
add comment

3 Answers

This is a test button with a link Live demo

share|improve this answer
1  
Please don't use this for demo links. Kbd is supposed to represent user input. –  Jonathan Hobbs Jun 16 at 6:45
    
Is there an appropriate attractive way to represent demo links (other than a raw url)? I have seen the technique above in several answers in SE and SO and was using meta as a sandbox to figure out how it works (which I also gathered was an appropriate use of meta). –  Reb.Cabin Jun 16 at 12:39
    
Yeah; provide them as links, since they're links. –  Jonathan Hobbs Jun 16 at 13:02
add comment

It's <kbd> and </kbd>.

share|improve this answer
    
Now that I have the code of <kbd> I search and I think it still needs to be added per this post: meta.stackexchange.com/questions/36785/… –  drewk May 6 '10 at 2:54
    
Doesn't work in comments, unfortunately... –  Adam Lindberg Aug 3 '11 at 16:01
add comment
<kbd>Ctrl</kbd>

Ctrl

share|improve this answer
add comment

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