Blog

figcaption tag in HTML5

Posted 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>


post comment
     
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Get Career Advice from Experts
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Get Career Advice from Experts