HTML5 figure Tag

Use the HTML5 figure tag if you want to add images, diagrams and other self-contained content on your website. Add a caption too by adding the HTML5 <figcaption> tag under the <figure> tag.

Here’s the output, with caption Figure- Studyopedia Logo, added using the figcaption tag,

HTML5 figure tag

We have added a logo under the src attribute of img tag under the figure tag. Additionally, we added figcaption tag also to provide caption to the image we added.

We also added a title to the web page, which would be visible on the page’s tab as well as web browsers tab.

HTML5 details Tag
HTML5 footer Tag
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading