HTML DOM Abbreviation Object

Abbreviation object

The Abbreviation object represents the HTML <abbr> element.

Access the Abbreviation object

You can use getElementById() to access the <abbr> element:

Example

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

Try It Yourself

Create an Abbreviation object

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

Example

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

Try It Yourself

Standard Properties and Events

Abbreviation Object Supports StandardsPropertiesAndEvents.

Related Pages

HTML Reference Manual:HTML <abbr> Tag