HTML <kbd> Element Reference

The HTML <kbd> element represents user input, commonly keyboard commands or spoken instructions.

<kbd>

HTML <kbd> Element Reference

The HTML <kbd> element represents user input, commonly keyboard commands or spoken instructions.

Categories

  • Text-level semantics

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical kbd element example.

<p>Press <kbd>Ctrl</kbd> + <kbd>S</kbd> to save.</p>

Related references

Description

The HTML <kbd> element represents user input, commonly keyboard commands or spoken instructions.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <kbd> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies