figcaption tag in HTML5

It uses a figure element, which is used to take an image element in the document.  We can also place any text in it.

Ex:


11.png 
Complete Program:

<html>
<body>

<p>A day after scrapping a visit to China following Beijing's denial of visa to an Arunachal officer, the govt decided to go ahead with the tour, but with just 15 members.</p>

<figure>
  <img src="china.gif"  width="300" height="200" />
  <figcaption>
India does a U-turn, to send small military team to China</figcaption>
</figure>

</body>
</html>


Ebook Download
View all
Learn
View all