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

HTML 4.0 Reference ~ Elements by Function ~ Elements Alphabetically


Copyright © 1998 by Liam Quinn. Packaged by Profound Logic Software, Inc. for inclusion in the RPGsp IDE (2004).