<img> display problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

<img> display problem

<html> Hii everybody , i want to insert an image.jpg in html code , but the image doesnt display , !! The image is saved in desktop , however , i specified the src = " 17331.jpg and alt=""

29th May 2018, 9:08 PM
Marwen Hechmi
Marwen Hechmi - avatar
3 Answers
+ 1
There are attribute complete, when the image load finished.It's Use with Javascript.
29th May 2018, 10:06 PM
Alan Carreño Fiestas
Alan Carreño Fiestas - avatar
+ 1
thx a lot guys :)
30th May 2018, 1:03 AM
Marwen Hechmi
Marwen Hechmi - avatar
0
Linking external media resources, if you don't specify a long-path but instead a short-path, will not work. If you just wrote: <img src="picture.jpg"></img> , then it would find the picture within the same folder. Not on your desktop. If you really want to go to the desktop to find it... <img src="PATH TO DESKTOP"></img> , would do the trick. Obviously replace the block capitals 'PATH TO DESKTOP' with the actual path. Glad to help.
29th May 2018, 9:43 PM
ghostwalker13
ghostwalker13 - avatar