"http://www.w3.org/TR/REC-html40/strict.dtd">
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>.