HTML DOM Figure Object

Figure object

The Figure object represents the HTML <figure> element.

Access the Figure object

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

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

Try It Yourself

Create a Figure object

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

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

Try It Yourself

Standard Properties and Events

Figure Object Supports StandardsPropertiesandEvents.

Related Pages

HTML Reference Manual:HTML <figure> Tag