विश्व का सबसे बड़ा हिंदी वेब डेवलपर साइट
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Figcaption Object


Figcaption Object

The Figcaption Object is new in HTML5.

The Figcaption object represents an HTML <figcaption> element.

Access a Figcaption Object

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

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

Create a Figcaption Object

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

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

Standard Properties and Events

The Figcaption object also supports the standard properties and events.


Related Pages

HTML reference: HTML <figcaption> tag