The HTML element, or keyboard input, produces an inline element displayed in the browser's default monotype font. The font face can be changed using the CSS font-family property. This element is used to identify user input. This element should only be used if the content indicates text entered from the keyboard. Do not use this element if the aim is solely to render text using a fixed width font. Use CSS or the <tt> element instead.


Global Attributes

See Global HTML Attributes.

HTML example:

Type the following into the code box: <kbd>EEC19R7</kbd>. Then hit ENTER.

That produces: Type the following into the code box: EEC19R7. Then hit ENTER.

See Also

External Links