HTML: Figure Tag

By Xah Lee. Date: . Last updated: .
Used for including figures with caption (as in a book), typically a illustration, photo, diagram, but can also be video, animation, table, code example, etc.
  • For figure caption.
  • Must be inside figure.

🛑 WARNING: the figcaption tag must be the first or last child of the figure tag.


<img src="i/tile_A.png" alt="tile A" width="128" height="128" />
tile A

browser shows:

tile A
tile A

Browser Support

HTML image tags