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 Anchor object also supports the standard properties and events.

Post Author: Zahid Farid