79 of 133 menu

The figcaption tag

The figcaption tag specifies a description of the image or images for the figure tag. This tag must be the first or last element inside figure.

Example

Let's put a picture img in the tag figure, and make a caption for it using the tag figcaption:

<figure> <img src="monkey.jpg" alt=""> <figcaption>Picture of a monkey.</figcaption> </figure>

See also

byenru