Html tutorial | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Html tutorial

hey guys is is enough to just copy the link adress to <img src="image. jpg" alt"">? and what is alt"" doing here?

14th Jul 2020, 1:03 PM
reza mousavi
reza mousavi - avatar
6 Answers
+ 3
Alt stands for alternative, the text inside alt attribute will display if the image for some reason doesn't work on the browser.
14th Jul 2020, 1:05 PM
Karak10
Karak10 - avatar
+ 3
Såñtösh Màràvi(Challenge Me On JUMP_LINK__&&__Python__&&__JUMP_LINK) thats not true, images can be added without the alt attribute too.
14th Jul 2020, 3:35 PM
Karak10
Karak10 - avatar
+ 2
For what to put in src, there is a path issue: https://youtu.be/BWrkxuSWirY
14th Jul 2020, 1:59 PM
Gordon
Gordon - avatar
+ 1
Alt is used for loading images.
14th Jul 2020, 1:04 PM
Sâñtôsh
Sâñtôsh - avatar
0
alt is to describe the image for screen reader, to give more accessibilty
15th Jul 2020, 7:58 PM
sobadrdb