The <figure>
element in
Content, tags, or headings should be enclosed between opening and closing tags.
<figure> ....... </figure>
This tag supports both global and event attributes. CSS can be used to make the content responsive in the figure
element.
In the code snippet, the <figure>
tag is being used from line 12 to line 15 which contain the <img>
and <figcaption>
elements. The final output contains an Educative
logo and its caption at the bottom.