+ 5

What is <figure> in HTML5?

What is <figure> in HTML5? Html Java Html5

10th Jan 2021, 2:47 PM
SUJAN
SUJAN - avatar
1 Answer
0
Use a <figure> element to mark up a photo in a document, and a <figcaption> element to define a caption for the photo: <figure>   <img src="pic_trulli.jpg" alt="Trulli" style="width:100%">   <figcaption>Fig.1 - Trulli, Puglia, Italy.</figcaption> </figure>
2nd Mar 2022, 2:42 PM
Wakil Ah Hamidi
Wakil Ah Hamidi - avatar