Syntax | <kbd>...</kbd> |
---|---|
Attribute Specifications | |
Contents | Inline elements |
Contained in | Inline elements, block-level elements |
The kbd element denotes text to be entered by the user. Visual browsers typically render kbd as monospaced text, but authors can suggest a rendering using style sheets. Since kbd is a structural element, it carries meaning, making it preferable to font style elements such as tt when marking up text to be entered by the user.
Example:
<p>If the question does
not apply to you, enter <kbd>N/A</kbd>.