Figcaption Tag in HTML || HTML Figcaption Tag

HTML FIGCAPTION (<figcaption>) Tag

Last Updated by Jai 06-Jul-19

0 752

The HTML FIGCAPTION <figcaption> tag is used to give a caption of an image. It is an optional tag. We can use this tag before or after the content within the <figure> tag.

It can be written as <figcaption></figcaption> with the caption inserted between the start and end tags. You can read the example below:-


<!DOCTYPE html>
<title>figcaption Tag</title>
  <img src="codingtag.png" alt="CodingTag"/>
<figcaption>Fig.1.1 - CodingTag Logo</figcaption>


HTML FIGCAPTION (<figcaption>) Tag


Leave a Reply

    Waiting for your comments