+ 1
Figure tag.
so i've seen the <figure> tag in the challenges but i dont remember seeing it in the html course here or in any other place.can someone kindly tell me what is it used for ? and whether its supported in html 5 or not ? Thanks in regard😀
1 Resposta
+ 1
Figure is new to html 5. I is meant to group an image and label.
<figure>
<img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">
<figcaption>Fig.1 - A view of the pulpit rock in Norway.</figcaption>
</figure>
Copied from https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_figcaption