figure tag in HTML5
Figure tag is useful to markup a photo in the document. It is used to specify the self-contained block, images, etc.
Its content belongs to the main document. But if we want to remove it, we can remove it independently, as it does not affect 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: