HTML <figure>Tag


Examples

Use the <figure> element to mark up an image in a document:

<figure> <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228"> </figure>

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

IE 9, Firefox, Opera, Chrome, and Safari support the <figure> tag.

Note:IE 8 or earlier versions of IE do not support the <figure> tag.


Definition and Usage

The <figure> tag specifies independent flow content (images, charts, photos, code, etc.).

The content of the <figure> element should be related to the main content, while its position is independent of the main content. If it is removed, it should not affect the document flow.


Differences Between HTML 4.01 and HTML5

The <figure> tag is a new tag in HTML5.


Tips and Notes

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


Global Attributes

The <figure> tag supportsthe Global Attributes in HTML。


Event Attributes

The <figure> tag supportsthe Event Attributes in HTML。

Other Extensions