Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML5 <figcaption> tag


May 03, 2021 HTML5


Table of contents


HTML5 is used to represent the title of the label.

Mark an image in the document with the element. The element has 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 out . . .

Browser support

HTML5 <figcaption> tag HTML5 <figcaption> tag HTML5 <figcaption> tag HTML5 <figcaption> tag HTML5 <figcaption> tag

IE 9, Firefox, Opera, Chrome, and Safari support the hashtags.

Note: IE 8 or earlier versions of IE browsers do not support the hashtag.


Label definition and instructions for use

The label defines the title for the element.

The element should be placed in the position of the first or last child element of the element.


The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.


Global properties

Labels support the global properties of HTML.


The event property

The tag supports the event properties of HTML.