kbd(HTML element)

Syntax

<kbd>

</kbd>

Description

The kbd
element is used to identify keystrokes that the user needs to make on his
or her keyboard. These keystrokes could form a string of text, or they
could reflect individual key presses that the user must complete (for
example, pressing Enter or Backspace). It’s most likely to be found in
online technical manuals or support sites.

Most browsers will render
kbd content in a monospace font, but it’s possible to
style its display with CSS (for example, setting a background color and a
border to make the character appear a little more like a key on a
keyboard).