HTML: The Markup Language Reference

kbduser input # T

The kbd element represents user input.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Tag omission #

A kbd element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

Details #

The kbd element typically represents keyboard input, though it may also represent other input, such as voice commands.

DOM interface #

Uses HTMLElement.

Typical default display properties #

kbd {
font-family: monospace; }