Horje

How to create HTML <figure> Tag

Use a <figure> element to mark up a photo in a document, and a <figcaption> element to define a caption for the photo
index.html
Example: HTML
<figure> <img src="https://horje.com/avatar.png" alt="Trulli" style="width:100%"> <figcaption>Fig.1 - Trulli, Puglia, Italy.</figcaption>
</figure>

Output should be:

How to create HTML <figure> Tag




Type :
html
Category :
Web Tutorial
Sub Category :
HTML Tag
Uploaded by :
Admin