Latest web development tutorials
 

HTML DOM DD Object


DD Object

The DD object represents an HTML <dd> element.

Access a DD Object

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

Example

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

Create a DD Object

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

Example

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

Standard Properties and Events

The DD object also supports the standard properties and events.


Related Pages

HTML reference: HTML <dd> tag