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="">
 
Hallöchen! Unser geplanter Wanderurlaub im Schwarzwald fiel buchstäblich ins Wasser, es schüttete ohne Ende. Wir saßen in der Hütte fest und ich las einen Blog über Online-Casinos. Die Slots bei glitzbets sahen gut aus, also probierte ich es. Erst fraß der Automat nur mein Geld, was ziemlich nervte. Aber dann löste ich ein Bonus-Feature aus, das ewig lief. Der Gewinn war super für die Urlaubskasse und die Stimmung war trotz des miesen Regenwetters plötzlich wieder bestens. Ein unverhoffter Geldsegen ist doch das Beste.
 
Top