figure tag in HTML5

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.
  1. <!DOCTYPE html>  
  2. <html>  
  3.     <body>  
  4.         <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>  
  5.         <figure>  
  6.             <img src="1.jpg" alt="C# Corner" width="100" height="100" />  
  7.         </figure>  
  8.     </body>  
  9. </html>  
Output:
 
1.png
Next Recommended Reading The nav tag in HTML5