Horje
How to create HTML <kbd> For Keyboard Input

The HTML <kbd> element is used to define keyboard input. The content inside is displayed in the browser's default monospace font.


Example of HTML <kbd> For Keyboard Input

Define some text as keyboard input in a document:
index.html
Example: HTML

<!DOCTYPE html>
<html>
<body>
<h2>The kbd Element</h2>
<p>The kbd element is used to define keyboard input:</p>
<p>Save the document by pressing <kbd>Ctrl + S</kbd></p>
</body>
</html>

Output should be:

Example of HTML <kbd> For Keyboard Input





Related Articles
HTML Computer Code HTML Computer Code
How to create HTML <kbd> For Keyboard Input HTML Computer Code
How to create HTML <samp> For Program Output HTML Computer Code
How to create HTML <code> For Computer Code HTML Computer Code
How to create HTML <code> For Computer Code Part - 2 HTML Computer Code
How to create HTML <var> For Variables HTML Computer Code

Single Articles
Example of HTML <kbd> For Keyboard Input HTML Computer Code

Category :
Web Tutorial
Sub Category :
HTML Computer Code
Uploaded by :
Admin


Read Article
https://horje.com/learn/1434/reference