HTML DOM Figcaption Object

Figcaption object

The Figcaption object represents the HTML <figcaption> element.

Access the Figcaption object

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

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

Try It Yourself

Create a Figcaption object

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

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

Try It Yourself

Standard Properties and Events

Figcaption Object Supports StandardsPropertiesAndEvents.

Related Pages

HTML Reference Manual:HTML <figcaption> Tag