Articles → HTML → kbd tag in HTML

kbd tag in HTML






Purpose





Syntax


<kbd>text</kbd>



Example


<!DOCTYPE html>
<html>
  <head>
    <title></title>
  </head>
  <body>
    Please use <kbd>CTRL</kbd> + <kbd>C</kbd> to copy contents
  </body>
</html>



Output


Picture showing the output of the kbd tag in HTML

Click to Enlarge


Browser support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 10, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250