0

what if you don't have an image in the same folder as the HTML folder .how do i then insert an image?

7th Oct 2016, 4:34 PM
ufor daniel
ufor daniel - avatar
2 Answers
+ 1
Just put the name and the format of the image. myimage.jpg If the image is in a folder called images (default used) it should be images/myimage.jpg If you are setting it in the CSS file that is on a folder called styles, and the image is on a folder called image, use: ../images/myimage.jpg Don't forget to put the file format at the end of the file name
7th Oct 2016, 5:21 PM
Scotti
Scotti - avatar
0
If you have the image local at your computer you have to put the whole path to the image to src (src='C:\folder\...\image.png'). You also can use the URL to the image if it is on an web page.
7th Oct 2016, 6:35 PM
Robin
Robin - avatar