0

Why alt is use in img tag?

12th Jun 2021, 10:48 AM
Giri Dharan K
Giri Dharan K - avatar
4 Answers
+ 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.
12th Jun 2021, 10:53 AM
saurabh
saurabh - avatar
+ 1
Also for SEO
14th Jun 2021, 3:18 AM
baris
0
also used for accessibilty: screen readers will read this string to describe the picture ^^
12th Jun 2021, 12:16 PM
visph
visph - avatar
0
Also browser use alt attribute for image searching.
14th Jun 2021, 1:05 AM
Coder-Rohit[{(∞)}]
Coder-Rohit[{(∞)}] - avatar