How to use figcaption tag


<figcaption>

All Tags not showing in online page, but show on view source.

<figure>
  <img src="images/butterfly.jpg" alt="The yellow Butterfly">
  <figcaption>Fig 1: The yellow Butterfly.</figcaption>
</figure>

Code show like this:

The yellow Butterfly
Fig 1: The yellow Butterfly.

Browser Support

The <figcaption> tag is not supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari.

What is figcaption tag

figcaption tag means is figure caption. Basically use for Caption of a figure.

Difference in HTML5

The figcaption tag is new in HTML5.

Leave a Reply

Your email address will not be published. Required fields are marked *