HTML <figcaption> tag

Updated: 10/11/2017 by Computer Hope

HTML figcaption tagWhen 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 within 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 code

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

Example result

Computer Hope Guy
Figure A - Our 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.


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

Browser, Compatibility, Web design terms