HTML <figcaption> Tag
The <figcaption> Tag is used to caption the image.
The <figcaption> Tag is used with the <figure> Tag and can be placed as the first or last child of the <figure> Tag.
Defines a testimonial for the <figcaption> tag tag <igure> Tag.
Only one <figuration> Tag can be nested within the <image> Tag, although the element itself can contain many other elements such as <img> or <code>.
Example:-
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML figcaption Tag</title>
</head>
<body>
<h1>HTML Figcaption Tag Example</h1>
<figure>
<img src="http://www.myprograming.com/wp-content/uploads/2021/05/03.jpg">
<figcaption>This is caption</figcaption>
</figure>
</body>
</html>
Output:-