HTML: Figure Tag
figure
- used for including figures as in a book, typically a image, such as: illustration, image, photo, diagram, but can also be video, animation, table, code example, etc.
figcaption
-
for figure caption.
Must be inside
figure
, and must be first or last item.
example:
<figure> <img src="i/tile_A.png" alt="tile A" width="128" height="128" /> <figcaption> tile A </figcaption> </figure>
browser shows:

Warning: the figcaption
tag must be the first or last child of the figure
tag.
Browser Support
As of , all major browsers support it.
As of Safari (5.0.4) and Opera (11.01) don't support it. Google Chrome (10.0.648.151), Firefox 4.0, IE9, all support it.