Name

kbd — HTML 4.01 | HTML5

Synopsis

<kbd> . . . </kbd>

Stands for “keyboard” and indicates text (or voice input) entered by the user.

Start/End Tags

Required/Required

Attributes

Core, Internationalization, Events, HTML5 Global Attributes

Example

<p>Enter your coupon code. Example: <kbd>AX4003</kbd></p>

Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.