Design comparison
Solution retrospective
I want to know what can I write in the alt tags because it's always some images that I don't think provide any help or useful information to readers.
Community feedback
- @gauravsingh1281Posted almost 2 years ago
Hey Anas Elmarzouqy
You can write alternative text for the image in the alt tags sometimes images are not loading properly on the websites so the alternative text gives brief information to the user that what type of image is this.
for example - you use the image of a cat on the website for some error it is not visible to the user then the user can see the alternative text whatever you have written in the alt tag. Like this
<img src="cat.jpg" alt="cat-image">
0
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