HTML figure tag element has some interdependency from the flow of the document, and its position relative to the surrounding content doesn't need to be exact.
Basically, it is used to wrap images or graphics, charts, reference tables, videos, etc.
The <figcaption>
element is placed inside the <figure>
tags and it adds a caption to the content identified by the <figure>
tags.
General Syntax
<figure>
Figure Tag <figcaption>Write Caption Information</figcaption>
</figure>
Source Code
<figure>
<img src="../images/logo.png" alt="logo" class="img-responsive" />
<figcaption><i>sidhakarinfotech</i> is a learning platforms.</figcaption>
</figure>
Source Code : Output