Design comparison
SolutionDesign
Solution retrospective
Redesigned it again to give it a better code quality.
Community feedback
- @deepak-parmarPosted over 2 years ago
@zaidansari42, for best practice I suggest...
- You should use figure/figcaption tag for the image and the paragraph,
caption
tag is specifically used fortable
.
<figure> image h1 <figcaption> p </figcaption> </figure>
This would improve accessibility and won't change the design. Hope this helps 👍
Marked as helpful0 - You should use figure/figcaption tag for the image and the paragraph,
Please log in to post a comment
Log in with GitHubJoin our Discord community
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