The HTML <figcaption>
or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure>
element.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
Content categories | None. |
Permitted content | Flow content. |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parents | A <figure> element; the <figcaption> element must be its first or last child.
|
Implicit ARIA role | No corresponding role |
Permitted ARIA roles | group , none , presentation
|
DOM interface | HTMLElement
|
Attributes
This element only includes the global attributes.
Examples
Please see the <figure>
page for examples on <figcaption>
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living StandardThe definition of '<figcaption>' in that specification. | Living Standard | |
HTML5The definition of '<figcaption>' in that specification. | Recommendation |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
figcaption
|
Chrome
Full support 8 |
Edge
Full support 12 |
Firefox
Full support 4 |
IE
Full support 9 |
Opera
Full support 11 |
Safari
Full support 5.1 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support 4 |
Opera Android
Full support 11 |
Safari iOS
Full support 5.1 |
Samsung Internet Android
Full support Yes |
Legend
- Full support
- Full support
See also
- The
<figure>
element.
<figcaption>: The Figure Caption element by Mozilla Contributors is licensed under CC-BY-SA 2.5.