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

HTML <figcaption> tags


May 04, 2021 HTML Reference Manual


Table of contents


HTML slt;figcaption and tags

The new label in HTML5.

The label is used to represent a title associated with a graph or legend, and is typically used to define the title of an element, as follows:

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

HTML <figcaption> tags HTML <figcaption> tags HTML <figcaption> tags HTML <figcaption> tags HTML <figcaption> tags

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.