THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM DList Object


DList Object

The DList object represents an HTML <dl> element.

Access a DList Object

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

Example

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

Create a DList Object

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

Example

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

Standard Properties and Events

The DList object supports the standard properties and events.


Related Pages

HTML tutorial: HTML Lists

HTML reference: HTML <dl> tag