How to put an image that isn't in the same folder as the html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to put an image that isn't in the same folder as the html?

Hello, i've created a "text.html" where i want to add an image that is not in the same folder, i've created the folders "Code 1" where there is my text.html and a folder "img" with my image that i want to add in my html. What is the code line to found the image please? :)

3rd Feb 2019, 10:03 PM
KronnenV
KronnenV - avatar
1 Answer
0
<img src="Folder name/Image's name.jpg/>
3rd Feb 2019, 10:10 PM
KronnenV
KronnenV - avatar