HTML <figure> Tag


Use a <figure> Element mark an image in the document:

  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">
Try it yourself »

Definition and Usage

The <figure> Tags specify independent streaming content (images, charts, photos, code, etc.).

While the content of the <figure> The content of the element should be related to the main content, and the position of the element is independent of the main content. If deleted, the document flow should not be affected.

Browser Support

The numbers in the table specify the first browser version that fully supports the element.

<figure> 6.0 12.0 9.0 4.0 5.0 11.1

Differences Between HTML 4.01 and HTML5

The <figure> tag is new in HTML5.

Tips and Notes

Tip: The <figcaption> element is used to add a caption for the <figure> element.

Global Attributes

The <figure> tag also supports the Global Attributes in HTML.

Event Attributes

The <figure> tag also supports the Event Attributes in HTML.

Related Pages

HTML DOM reference: Figure Object