TRENDING TOPICS

×

What is the difference between figcaption tag and figure tag in HTML?

By: Reshma Verma | 16 August 2019

P

Prakash Verma

15 September 2019

<figcaption> tag used inside the <figure> tag with image tag in HTML - I will show with example

Syntax Example of <figure> & <figcation>:

<figure>

    <img src="image_URL" />

    <figcaption>Image title information</figcaption>

</figure>

The <figure> tag always use with image and figcaption tags, because figcaption tag provide title information or descriptions of the image, & The <figcaption> tag is not going to without figure tag.

<figcation> tag help to improve web page SEO.

0 votes

Your Answer

© 2021 GDATAMART.COM (All Rights Reserved)