Kbd Tag

<kbd>

Explanation

kbd tag is used to highlight and apply different font style and size to a word.
Either it defines for the 'user input' or else for 'keyboard input'.
Content<kbd>Text</kbd>

Example Code:

Result :

A R Rahman performed at Oscar Awards Function
  • Use this tag to highlight and differentiate a word at once.
  • User must apply proper closing or end tags for this tag.
It is available in previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all major browsers.

Ask Questions

Ask Question