THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
TUTORIALS
 

HTML DOM DT Object



DT Object

The DT object speaks to a HTML <dt> element.

Access a DT Object

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

var x = document.getElementById("myDT"); Try it

Create a DT Object

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

var x = document.createElement("DT"); Try it

Standard Properties and Events

The DT object likewise bolsters the standard properties and events.