HTML <figcaption> tag

HTML <figcaption> tag : Definition

• The HTML <figcaption> element represents the child of a parent <figure> element to attach a caption to the image, table, or chart contained in the <figure> element.

In short, we can say that figcaption element define a caption for the photo.

<figcaption> tag example :

<!DOCTYPE html>
<h1>The figcaption element example</h1>
  <img src="app-assets/images/course-images/html-tutorial.png" alt="figcaption image went mission" style="width:100%">
  <figcaption>This is the figcaption of the image.</figcaption>


The figcaption element example

HTML Tutorial
This is the figcaption of the image.