kbd HTML

HTML <kbd> Tag To represent a user or keyboard input a voice command or similar inputs the HTML <kbd> element is used. It displays the contents in the browser’s default monospace font. Example 1: <!DOCTYPE html> <html> <body> <em>HELLO WORLD!!</em><br> <strong>HELLO WORLD!!</strong><br> <code>HELLO WORLD!!</code><br> <samp>HELLO WORLD!!</samp><br> <kbd>HELLO WORLD!!</kbd><br> <var>HELLO WORLD!!</var> </body> </html> Explanation: In the … Read more