.gif not showing in html document

gameyharp's Avatar
Go4Expert Member
I'm just learning html and right now i'm just throwing together a document kind of showing what I've learned so far to my instructor. So my code reads like this,

<a href="http://www.google.com">
<img border="0" src="C:\Documents and Settings" width="65" height="35"
</a>
I shortened the filepath but other than that everything is there. The image being used is a .gif so the only thing i could think i'm doing wrong is not putting .gif at the end of filepath.
What happens is it just shows a broken puzzle piece where the picture should be, like firefox doesn't support it and, i'm using a new version of firefox.
All help is appreciated, thank you in advance.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The only thing could happen is either you don't have the file at the specified path or you mention the path incorrectly.
0
Rexy93's Avatar, Join Date: Oct 2007
Go4Expert Member
Exactly what shabbir said.

Also I mentioned before if you add the exact picture in the same folder/directory as the document you are adding it to and type this as the code.

Code:
<img src="image.gif" width="44" height="44">
0
Izaan's Avatar, Join Date: Oct 2007
Skilled contributor
You should also read Very Basics of HTML
0
Rexy93's Avatar, Join Date: Oct 2007
Go4Expert Member
Why thanks Izaan for pointing some people into my thread.