×

Html & Html5

The World's best Software Development Study Portal

HTML figcaption tag


This <figcaption> tag is use to add caption to any particular image . And this caption here we can use top of the image as well as below of the image.

Let's understand this by the following example:


<p> I love our Indian Army </p>
<figure>
<img src="image/army.jpg" alt="Army">
<figcaption> During the training session </figcaption>
</figure>

Output:


Army


\