THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM DT Object


DT Object

The DT object represents an HTML <dt> element.

Access a DT Object

You can access a <dt> element by using getElementById():

Example

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

Create a DT Object

You can create a <dt> element by using the document.createElement() method:

Example

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

Standard Properties and Events

The DT object also supports the standard properties and events.


Related Pages

HTML reference: HTML <dt> tag