HTML Kbd Tag

HTML Kbd TagHTML kbd tag <kbd> defines the text that a user should input via keyboard or similar device.

We can also say that the Kbd Tag <kbd> is used to indicate a text which is supposed to be entered by the user.

The Kbd tag <kbd> is a closed tag and needs to be closed via closing kbd HMTL tag </kbd>.

Syntax of HTML Kbd Tag

Text that user will input..

Example of HTML kbd Tag

HTML Kbd Tag Code Output
<p> To logon to techhoney please write</p>
<kbd> in browser’s
address bar</kbd>
<p> and press enter</p>
To logon to techhoney please write in browser’s address bar

and press enter

Here the example above HTML Kbd Tag we can see that the text “ is browser’s address bar” is formatted in a different way than the text neighboring it.

HTML Kbd Tag supports all HTML Event Attributes and HTML Global Attributes.

HTML Kbd Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Tagged , , , , , , , , , , , , , , , . Bookmark the permalink.