figcaption tag in HTML5

By Mahak Gupta Blogs | HTML 5 Jan 07, 2012
It uses a figure element, which is used to take an image element in the documnet.
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>


COMMENT USING

PREMIUM SPONSORS

Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

Latest Blogs