You are here:    Home » HTML 4.0 Reference

The Web Design Group

KBD - Text to be Input

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>.

More Information