HTML DOM Abbreviation Object

The Abbreviation object represents an HTML <abbr> element

Abbreviation Object

The Abbreviation object represents an HTML <abbr> element.

Access an Abbreviation Object

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

Example

var x = document.getElementById("myAbbr");

Create an Abbreviation Object

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

Example

var x = document.createElement("ABBR");

Standard Properties and Events

The Abbreviation object supports the standard properties and events.

Related Pages

HTML reference: HTML <abbr> tag