I've found that the <kbd>
tag is very useful for marking up stuff other than actual keyboard keys. For example,
- Menus: "Navigate to the File → Open option"
- Buttons: "Press the OK button."
Technically, this does match the HTML specs.
When the kbd element contains a samp element, it represents input based on system output, for example invoking a menu item.
I feel it makes my posts much more clear when used judiciously. Will I be going against any SO guidelines if I use it this way?
<samp>
isn't AFAIK.<kbd>
was made for building castles. And sometimes keyboards And more keyboards But mostly castles