figure tag in HTML5

By Mahak Gupta Mar 28, 2012
figure tag is useful to markup a photo in the document.It is used to specify the self-contained block,images etc.
figure tag is useful to markup a photo in the document.It is used to specify the self-contained block,images etc.
Its content is belong to main document. But if we want to remove it, we can remove it independentlly, as it does not effect the rest of the document.

<!DOCTYPE html>
<html>
<body>

<p>Are you going to the Mindcracker MVP Summit 2012 at Noida or interested in learning the daily progress of the summit? Check out daily updates here and let the saga begin.</p>

<figure>
  <img src="1.jpg" alt="C# Corner" width="100" height="100" />
</figure>

</body>
</html>



Output:

1.png
Mahak Gupta

My name is Mahak Gupta. I am a C# Corner MVP.

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