- 1

Why <img src="image.jpg"/>not show image ?????

html

8th Aug 2017, 5:49 PM
SAURABH KASHYAP
SAURABH KASHYAP - avatar
7 ответов
+ 3
Do you have a jpg picture named image in the same folder?
8th Aug 2017, 5:57 PM
Drax
Drax - avatar
+ 3
If image.jpg is not in the same folder as your HTML file you have to specify the path to the image, i.e. www.sololearn.com/pictures/image.jpg
8th Aug 2017, 7:40 PM
winfrjd
winfrjd - avatar
+ 2
what tell right code how are we supposed to know where ur image is
8th Aug 2017, 6:23 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
means the path to your image is wrong
8th Aug 2017, 5:51 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
if the image file is not in the same location like your HTML file - it won't work. you then have to add the path to the src attribute
8th Aug 2017, 6:23 PM
Martin Ed
Martin Ed - avatar
0
which path
8th Aug 2017, 5:51 PM
SAURABH KASHYAP
SAURABH KASHYAP - avatar
0
please tell right code
8th Aug 2017, 6:13 PM
SAURABH KASHYAP
SAURABH KASHYAP - avatar