Why does this not work?

jesseakers

New Member
I am practicing my sweet html skills and am playing with inserting images. I copied and pasted the location so there should be no typo but this doesn't work: <img src="C:\Users\owner\Pictures\2012-02-02\006.JPG" alt="photo"/>
Whta did I do wrong?
 

Phreaddee

Super Moderator
Staff member
well number one it is referenced to your c:

say for instance you had a folder called "websitefolder"

inside that folder you had all your html files.
you also had another folder in there called "images" you would put all your images in that folder
you would then call the images like so
HTML:
<img src="/images/image.jpg" alt="" />
 

Pheno

New Member
To start with, just put your image in the same directory as your html file, and then you don't need to worry about directory path

<img src="image-name.jpg" alt="">
 
Top