.gif not showing in html document

Discussion in 'Web Design, HTML And CSS' started by gameyharp, Oct 19, 2007.

  1. gameyharp

    gameyharp New Member

    Joined:
    Sep 4, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    The only thing could happen is either you don't have the file at the specified path or you mention the path incorrectly.
     
  3. Rexy93

    Rexy93 New Member

    Joined:
    Oct 26, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Designer and completing year 9
    Location:
    Australia
    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">
    
     
  4. Izaan

    Izaan New Member

    Joined:
    Oct 16, 2007
    Messages:
    215
    Likes Received:
    2
    Trophy Points:
    0
  5. Rexy93

    Rexy93 New Member

    Joined:
    Oct 26, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Designer and completing year 9
    Location:
    Australia
    Why thanks Izaan for pointing some people into my thread.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice