+ 2
What is the alt attribute for?
4 odpowiedzi
+ 18
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).
https://www.w3schools.com/TAGs/att_alt.asp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Img
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
+ 6
https://www.sololearn.com/learn/HTML/1030/
+ 2
its for displaying alternative text if the browser can't show the image.
0
if actual image cannot load because of slow connection or src fault ..alt can replace it with any customised statement