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>

Try It


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