THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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():

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

Create a DD Object

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

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

Standard Properties and Events

The DD object also supports the standard properties and events.


Related Pages

HTML reference: HTML <dd> tag