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

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

Create an Abbreviation Object

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

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

Standard Properties and Events

The Abbreviation object supports the standard properties and events.


Related Pages

HTML reference: HTML <abbr> tag