How to use alt attribute? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use alt attribute?

How to use alt attribute and What’s meaning?

22nd Feb 2018, 1:29 AM
Klaus
Klaus - avatar
1 Answer
+ 16
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader). Explanation and examples: https://www.w3schools.com/TAGs/att_alt.asp https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Img BTW, this question has already been asked and answered before. Please use the search bar😊 https://www.sololearn.com/discuss/1040466/?ref=app https://www.sololearn.com/discuss/221017/?ref=app https://www.sololearn.com/discuss/1021417/?ref=app https://www.sololearn.com/discuss/1052572/?ref=app https://www.sololearn.com/discuss/1024166/?ref=app https://www.sololearn.com/discuss/900931/?ref=app https://www.sololearn.com/discuss/534030/?ref=app
22nd Feb 2018, 1:43 AM
NezhnyjVampir