HTML Tag <figcaption>
The <figcaption> HTML tag is used to defines a caption for a <figure> element, for more understanding see the below-mentioned syntax example of <figcaption>.
Important Points of <figcaption> Tag
- The <figcaption> tag is new in HTML5
- It is part of the main content of the figure.
- We can also use it with an image tag.
- <figcaption> use with image OR images.
Syntax Example of <figcaption>
<figure>
<img src="URL" />
<figcaption>Figur caption</figcaption>
</figure>
Browser Support <figcaption> Tag
- Chrome: 6.0
- Edge: 9.0
- Firefox: 4.0
- Safari: 5.0
- Opera: 11.1