Latest web development tutorials

HTML <figcaption> tag

Examples

Use <figure> element tags in the document image. <Figure> element with a title:

<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 ExplorerFirefoxOperaGoogle ChromeSafari

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

Note: IE 8 or earlier versions of IE browser does not support <figcaption> tag.


Tag definitions and instructions

<figcaption> tag <figure> element defines the title.

<Figcaption> element should be placed in <figure> element of the first or last child element position.


Differences between HTML 4.01 and HTML5

<Figcaption> tag is new in HTML5 tags.


Global Properties

<figcaption> tag supports HTML global properties .


Event Properties

<figcaption> tag supports HTML event properties .