HTML <kbd> Keyboard Input Tag Reference
The kbd HTML tag means Keyboard Input, and it defines sample code to be input by the user.
It's not clearly defined and not in common use, so avoid it where possible.
The <kbd> HTML/xHTML tag
The <kbd> tag is usually used in instructional text to define text that the user should enter into a program etc. (keyboard input).
When to use the <kbd> tag (semantic use)
It's not commonly used. If you need to display text in a monospace font, either use CSS or the <pre> tag.Example of <kbd> tag use
No examples given as this is not a recommended tag.Alternatives to the <kbd> tag
You may also consider using:
- <pre>
- To display preformatted text



