Advertisement

HTML <figcaption> tag

Examples

The illustrations in this document is used as an image, with a title ::

<figure>
  <figcaption>黄浦江上的的卢浦大桥</figcaption>
  <img src="shanghai_lupu_bridge.jpg" width="350" height="234" />
</figure>

Try it yourself

Browser Support

IE Firefox Chrome Safari Opera

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

Note: 8 and earlier versions of Internet Explorer do not support the <figcaption> tag.

Definition and Usage

<figcaption> tag defined figure element title (caption).

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

Browser Support

All major browsers support <figcaption> tag.

HTML 4.01 and HTML 5 differences between

<Figcaption> tag is new in HTML 5 tag.

Global Properties

<figcaption> tag supports HTML in the global properties .

Event Properties

<figcaption> tag supports HTML in the event properties .