HTML DOM Figure Object
- Previous Page <figcaption>
- Next Page <footer>
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");
Create a Figure object
You can use the document.createElement() method to create a <figure> element:
var x = document.createElement("FIGURE");
Standard Properties and Events
Figure Object Supports StandardsPropertiesandEvents.
Related Pages
HTML Reference Manual:HTML <figure> Tag
- Previous Page <figcaption>
- Next Page <footer>