What is figcaption tag in HTML?

Query By: ROHIT RANJAN

V

Vivek Madhur

HTML Tag <figcaption> 


The <figcaption> HTML tag is used to defines a caption for a <figure> element, for more understanding see the below-mentioned syntax example of <figcaption>.



Important Points of <figcaption> Tag


  • The <figcaption> tag is new in HTML5
  • It is part of the main content of the figure.
  • We can also use it with an image tag.
  • <figcaption> use with image OR images.



Syntax Example of <figcaption>


<figure>

    <img src="URL" />

   <figcaption>Figur caption</figcaption>

</figure>


Browser Support <figcaption> Tag


  1. Chrome: 6.0
  2. Edge: 9.0
  3. Firefox: 4.0
  4. Safari: 5.0
  5. Opera: 11.1

0 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)