Blog

figure tag in HTML5

Posted by Mahak Gupta Blogs | HTML 5 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
COMMENT USING
PREMIUM SPONSORS
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
SPONSORED BY
  • MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.