Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML
tag

HTML
tag

Example

Use

The element marks an image in the document.
An element with a caption:

<

figure

<

img

src

=

"

img_pulpit.jpg

"

alt

=

"

The Pulpit Rock

"

width

=

"

304

"

height

=

"

228

"

<

figcaption

Fig1. - A view of the pulpit rock in Norway.

figcaption

figure

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

IE 9, Firefox, Opera, Chrome, and Safari support

tag.

**Note:** IE 8 and earlier versions of IE browsers do not support

tag.


Tag Definition and Usage Notes

The tag defines a caption for [
](tag-figure.html) element.
The element should be placed as
the first or last child element of the element.

Differences between HTML 4.01 and HTML5

The tag is new in HTML5.

Global Attributes

The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).

Event attribute

The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).