Keyboard Element Tutorial
<kbd>
Introductory Text
The kbd element represents user input.
- Start tag:
<kbd>- End tag:
</kbd>
Use Examples
- Example [Basic (HTML 5)]:
-
Press Shift+F3
- Code [HTML]:
-
<p>Press <kbd><kbd>Shift</kbd>+<kbd>F3</kbd></kbd></p>
Content Model/Assigned Attributes
- Element-Type:
- Text-Level [HTML 4.01]
- Phrasing Content [HTML 5]
- Attributes:
</kbd>
