WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM DFN Object


DFN Object

The DFN object speaks to a HTML <dfn> element.

Access a DFN Object

You can get to a <dfn> component by utilizing getElementById():

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

Create a DFN Object

You can make a <dfn> component by utilizing the document.createElement() method:

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