THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Abbreviation Object


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");
Try it Yourself »

Create an Abbreviation Object

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

Example

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

Standard Properties and Events

The Abbreviation object supports the standard properties and events.


Related Pages

HTML reference: HTML <abbr> tag