HTML <kbd> Tag
<kbd> HTML tag is used to define keyboard input or user-generated text within a document. It is typically displayed in a monospaced font to indicate that the enclosed text represents something that a user would type on a keyboard. This tag is commonly employed in documentation, tutorials, or any content where it's important to distinguish between regular text and user input, making it clear what the user should type or interact with on their keyboard.
- Permitted Parents
- Any element that accepts phrasing content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
Type <kbd>https://www.cssportal.net</kbd> into your browser address bar.
<kbd> tag also supports the Global Attributes in HTML5
<kbd> tag also supports the Event Attributes in HTML5
The following table will show you the current browser support for the HTML
|Tablets / Mobile|
Last updated by CSSPortal on: 30th September 2023