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");

Create an Abbreviation Object

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

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