HTML <figcaption> Tag
The figure tag denotes self-contained information such as drawings, diagrams, pictures, code listings, and so forth.
While the figure element's content is tied to the main flow, its location is independent of the main flow, therefore removing it should not influence the document's flow.
Tips: Use the <figcaption>
element to add a caption to the <figure>
element.
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<figcaption> | 8.0 | 4.0 | 5.1 | 9.0 | 11.0 |