• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in HTML by
Q:
What is the use of figure tag in HTML 5?

1 Answer

0 votes
by
The figure tag is used to add a photo in the document on the web page. It is used to handle the group of diagrams, photos, code listing with some embedded content.

<p>The Taj Mahal is widely recognized as "the jewel of Muslim art in India and one of the universally admired masterpieces of the world's heritage."</p>    

<figure>    

  <img src="htmlpages/images/tajmahal.jpg" alt="Taj Mahal"/>    

</figure>

Related questions

0 votes
asked Oct 24, 2019 in HTML by SakshiSharma
0 votes
asked Jan 29 in HTML by rajeshsharma
...