HTML <figcaption> tag

Updated: 11/13/2018 by Computer Hope
HTML figcaption tag

When writing in HTML, the <figcaption> tag is used to designate a caption for a <figure> element. The <figcaption> tag is optional, and can be either the first or last element in the <figure> block. The following sections contain information about the <figcaption> tag, including an example of it in use, as well as related attributes and browser compatibility.

Example of <figcaption> code

<img src="" width="57" height="120" alt="Computer Hope Guy">
<figcaption>Figure A - Computer Hope guy.</figcaption> </figure>

Example result

Computer Hope Guy
Figure A - Computer Hope guy.


Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <figcaption> tag does not have any unique attributes, it does utilize all of the standard attributes.


Edge Internet Explorer Firefox Safari Opera Chrome
All versions 9.0+ 4.0+ 5.1+ 11.1+ 8.0+

Browser, Compatibility, Web design terms