WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Kbd Object


Kbd Object

The Kbd object speaks to a HTML <kbd> element.

Access a Kbd Object

You can get to a <kbd> component by utilizing getElementById():

var x = document.getElementById("myKbd");

Create a Kbd Object

You can make a <kbd> component by utilizing the document.createElement() method:

var x = document.createElement("KBD");