Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42
<kbd> Tag | Manipulating Text | HTML5 Tutorial | Example

Kbd Tag



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'.

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.


It is applicable to all major browsers.

Ask Questions

Ask Question