HTML5 <figcaption> Tag

The HTML <figcaption> tag is used to represent a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor.

The only content permitted inside this element is flow content. Both the starting and ending tag are mandatory for this element. The parent of the <figcaption> tag can only be a <figure> element. Moreover, the <figcaption> element must be its first or last child.

The following style is applied to this element by default:

figcaption {
  display: block;


This element only accepts global attributes.

Reader Comments

1. You can register or login to post a comment. Asking readers to register improves the quality of discussion.

2. As a registered user, you will also get to access features like choosing between a light and dark theme or anything else that we might implement in future.

Follow Us For Updates

Go To Top