#1
I'm learning HTML and I'm having trouble using <img> for images. But I think the problem is I'm not using the right URL (I'm loading them from my pictures on the computer). So could someone show me how to see the url for it (I'm using Windows 7)
#2
Wait, you are trying to post an image directly from your computer? You can't. You need to upload it somewhere.
#5
<img src="images\image.jpg" alt="alttag"/>

This can work on your computer, but you'll need a folder called images in the same directory as the html/css files you're calling the image from.
Last edited by creelers at Aug 29, 2011,
#6
I do believe that's all the info you need, sir.

[IN PHIL WE TRUST]


Quote by Trowzaa
I only play bots. Bots never abandon me. (´・ω・`)

#7
Quote by creelers
<img src="images\image.jpg" alt="alttag"/></img>

This can work on your computer, but you'll need a folder called images in the same directory as the html/css files you're calling the image from.

And to do this it either needs to be in the same folder on your site's server, or in same folder on your pc (for example desktop)
Gear:
Schecter Damien Elite FR CRED
Ibanez RG7321FM w/ DiMarzio Bridge pickup
Roland CUBE 40XL
Digitech RP355

Quote by zgr0826
Banned because Raep = Me Gusta




ಠ_ಠ
#8
Quote by creelers
<img src="images\image.jpg" alt="alttag"/></img>

This can work on your computer, but you'll need a folder called images in the same directory as the html/css files you're calling the image from.
You don't close the IMG tag. Also wrong slash and missing "./".

Correct code: <img src="./folder/file.jpg" alt="tag" />
#9
Quote by Poglia
You don't close the IMG tag. Also wrong slash and missing "./".

Correct code: <img src="./folder/file.jpg" alt="tag" />


Also, instead of what Poglia said you can put a link there.

<img src="Link to image " alt="tag" />
#10
Quote by Poglia
You don't close the IMG tag. Also wrong slash and missing "./".

Correct code: <img src="./folder/file.jpg" alt="tag" />


Yeah that was an accident.

And the ./ isn't really needed.