In this article, you learn how to create a caption for a figure element by using the <figcaption> tag in the document. This new tag in the HTML5 page is used to set a caption to the figure element in a document.
<figcaption> Figure caption </figcaption>
Example: The following example demonstrates to apply caption for a HTML figure element.
- Google Chrome
- Internet Explorer