0
Why alt is use in img tag?
4 ответов
+ 6
alt means alternative...
If by chance coder forgets to attach image link or image link become corrupted then alternative text will be shown to screen letting the viewer that there is an img but link has some error.
+ 1
Also for SEO
0
also used for accessibilty: screen readers will read this string to describe the picture ^^
0
Also browser use alt attribute for image searching.