HTML <kbd> tagHTML <kbd> tag indicates the part of inline text which represents the user keyboard input, voice input, or any other text entry device input. The <kbd> text renders on the browser in default monospace font. It is used when a document needs to display the text which user should enter exactly from his keyboard. Note: We can also use CSS properties to get the same display effect as <kbd> tag.SyntaxFollowing are some specifications about the HTML <kbd> tag
ExampleTest it NowOutput: AttributeTag-specific attributeThe <kbd> tag does not include any specific attribute. Global attributeThe <kbd> tag supports the global attributes in HTML Event attributeThe <kbd> tag supports the event attributes in HTML Supporting Browsers
Next TopicHTML label Tag |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India