how can I tell it where to search for the image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can I tell it where to search for the image

29th May 2016, 1:15 PM
Gerhard du Preez
Gerhard du Preez - avatar
2 Answers
+ 2
just specify the path to your image using the src attribute. For example: <img src="http://example.com/myimage.jpg" /> you can also use relative paths if the image is in your site directory. For example, if the image is in the images folder, which is in the same folder as your webpage, use: <img src="./images/myimage.jpg" />
29th May 2016, 4:25 PM
James Flanders
0
Is it the folder you use instead of the image?
4th Jun 2016, 8:35 AM
Cele Prince
Cele Prince - avatar