WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Figure Object


The Figure object represents an HTML <figure> element.

Access a Figure Object

You can access a <figure> element by using getElementById():

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

Create a Figure Object

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

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

Standard Properties and Events

The Figure object also supports the standard properties and events.