HTML figcaption tag

The

element is used to provide a caption to an image.

It is an optional tag and can appear before or after the content within the

tag.

Only one

element can be nested within a
tag although the
element itself may contain multiple other elements like or .

The

element is used with
element and it can be placed as the first or last child of the
element.


HTML figure tag example

Test it Now

Output:

Taj Mahal
Fig.1.1 - A front view of the great Taj Mahal in Agra.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes

Note: HTML figcaption tag also supports the global and event attribute in HTML.


Next TopicHTML figure tag




Contact US

Email:[email protected]

HTML figcaption Tag
10/30