instead of using alt can we directly tell the loaction in src for eg. C:/user1/desktop/newfolder/image.jpg | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

instead of using alt can we directly tell the loaction in src for eg. C:/user1/desktop/newfolder/image.jpg

4th Aug 2016, 1:04 AM
Ostta Mobin
Ostta Mobin - avatar
4 Answers
+ 1
if the image doesnt load. u can use alt attribute to display an information to user that there is an image there. using alt you help google to search your image
4th Aug 2016, 6:30 AM
Felipe Medeiros
Felipe Medeiros - avatar
0
yeah why not
4th Aug 2016, 3:50 AM
Faizan
Faizan - avatar
0
when your picture could not to be displayed becuase of any reason,alt value will display instead of the picture
11th Aug 2016, 1:23 AM
Saber
Saber - avatar
0
yeah you can
13th Aug 2016, 4:13 AM
dharmesh prajapati