I'm not able to attach an image to html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm not able to attach an image to html

the image is not located in the same folder but i tried using the file path ....what is filled in alt attribute

11th Nov 2016, 4:57 PM
Vedansh
Vedansh - avatar
5 Answers
+ 2
use path to move trhoug the folders
11th Nov 2016, 5:38 PM
Maurizio Urso
Maurizio Urso - avatar
11th Nov 2016, 7:18 PM
Riku Pepponen
Riku Pepponen - avatar
+ 1
just try use the addres,4 exp <img src="image.jpg" if dosent wirked use the absolute path!
11th Nov 2016, 8:03 PM
mr.default
mr.default - avatar
+ 1
using path doesn't work
12th Nov 2016, 6:45 PM
Vedansh
Vedansh - avatar
0
absolout path always worked,but if donsent work(that u say dosent)so make a folder , and transfer the web page and ur image on that,then try again!
12th Nov 2016, 6:49 PM
mr.default
mr.default - avatar