Format text in a document:
The <kbd> tag is supported in all major browsers.
The <kbd> tag is a phrase tag. It defines keyboard input.
Tip: This tag is not deprecated, but it is possible to achieve richer effect with CSS.
All phrase tags:
|<em>||Renders as emphasized text|
|<strong>||Defines important text|
|<dfn>||Defines a definition term|
|<code>||Defines a piece of computer code|
|<samp>||Defines sample output from a computer program|
|<kbd>||Defines keyboard input|
|<var>||Defines a variable|
The <kbd> tag also supports the Global Attributes in HTML.
The <kbd> tag also supports the Event Attributes in HTML.
HTML tutorial: HTML Text Formatting
Your message has been sent to W3Schools.