HTML » Tags » kbd

Version: 2.0, 3.2, 4.0

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<kbd> ... </kbd>

The <kbd> tag is used to signify that the indicated text is to be typed by the user on the keyboard. For example, this can be used in training manuals.

The exact appearance will be browser dependent. However, most browsers render the indicated text in a mono spaced font.
 
Usually, the display font appearance for the code, kbd, samp, and tt tags is the same. The listing tag has been deprecated.
 
The closing tag is mandatory.
 

Examples

Code:
Please type <kbd>Request.Write strVar</kbd> in the third window.
 
Output:
Please type Request.Write strVar in the third window.
Language(s): HTML

See Also: