How to use the <kbd> tag for keyboard input formatting in HTML?

HTMLWeb DevelopmentFront End Technology

<kbd> tag is a phrase tag.It is used to identify text that represents user keyboard input. Most browsers display the <kbd> element in a monospace font.

This tag can be used in html document as:

<html>
<body>
<p>Two special keys in keyboard are:<kbd>ctrl</kbd>, <kbd>alt</kbd>.</p>
</body>
</html>
raja
Published on 01-Oct-2018 07:51:44
Advertisements