HTML and CSS Reference
In-Depth Information
Name
kbd
Synopsis
<kbd> . . . </kbd>
Stands for “keyboard” and indicates text (or voice input) entered by the user.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<p>Enter your coupon code. Example:
<kbd>
AX4003
</kbd>
</p>