HTML DOM DFN Object

DFN Object

The DFN object represents the HTML <dfn> element.

Accessing DFN Object

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

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

Try It Yourself

Create DFN Object

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

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

Try It Yourself

Standard Properties and Events

DFN Object Supports StandardsPropertiesAndEvents.

Related Pages

HTML Reference Manual:HTML <dfn> Tag