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

None.

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




Example

A demo showing how to use <kbd> tag.

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

Click to view the demo