HTML <kbd> Tag
In this tutorial, we will learn about kbd tag in HTML with the help of examples.
<kbd> Tag
Kbd tag <kbd> is used to define keyboard input in the HTML Document.
Note : The content inside the <kbd> tag is displayed in monospace font by default.
Syntax
<kbd>........</kbd>
Example
<!DOCTYPE html>
<html>
<head>
<title>Kbd Tag</title>
</head>
<body>
<p>This is a <kbd>HTML</kbd> document.</p>
</body>
</html>
Output
This is a HTML document.
Global Attribute
Kbd Tag support all the global attributes of HTML.
Event Attribute
Kbd Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of <kbd> tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML <label>
Tag.