HTML Tag Reference - HTML tag <kbd>

<kbd> displays text between its opening and closing tags in a fixed-size or monospaced font.

Browser compatibility

<kbd> Yes Yes Yes Yes Yes

What's new in HTML5


Global Attributes

The <kbd> tag supports the Global Attributes in HTML.

Event Attributes

The <kbd> tag supports the Event Attributes in HTML.

Default CSS Settings

kbd { 
    font-family: monospace;


A demo showing how to use <kbd> tag.

     <p>You can apply the <kbd>systemLanguage</kbd>.

Click to view the demo