jump

HTML 5: The Markup Language (ARIA Edition)

kbduser input # T

The kbd element represents user input.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.
aria = #
(detailed attribute description to come)

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; }