Latest web development tutorials
 

HTML DOM Address Object


Address Object

The Address object represents an HTML <address> element.

Access an Address Object

You can access an <address> element by using getElementById():

Example

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

Create an Address Object

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

Example

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

Standard Properties and Events

The Address object supports the standard properties and events.


Related Pages

HTML reference: HTML <address> tag