Figure :
The figure tag is used to add a photo in the document on the web page.
It is used to handle the group of diagrams, photos, code listing with some embedded content.
EX :
(figure)
(img src="htmlpages/images/tajmahal.jpg" alt="Taj Mahal"/)
(/figure)
Figure Caption :
The (figcaption) element is used to provide a caption to an image.
It is an optional tag and can appear before or after the content within the (figure> tag.
The (figcaption> element is used with (figure>
element and it can be placed as the first or last child of the (figure> element.
EX :
(figure>
(img src="htmlpages/images/tajmahal.jpg" alt="Taj Mahal"/>
(figcaption>Fig.1.1 - A front view of the great Taj Mahal in Agra.(/figcaption>
(/figure>