Ndulue Christian• 20
@Ndulue47
Posted
the img tag should be inside a figure tag
0
Éric Férole• 420
@Eric-Ferole
Posted
@Ndulue47 Could not should tho. If there is no caption it's okay to only use and <img> tag.
2
Is the semantic html correct?
<main class="flex-container">
<article>
<img ></img>
<h1></h1>
<p></p>
</article>
<footer></footer>
</main>
@Ndulue47
Posted
the img tag should be inside a figure tag
@Eric-Ferole
Posted
@Ndulue47 Could not should tho. If there is no caption it's okay to only use and <img> tag.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord