1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

.gif not showing in html document

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

  1. gameyharp

    gameyharp New 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.
     
  2. shabbir

    shabbir Administrator Staff Member

    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

    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

  5. Rexy93

    Rexy93 New Member

    Why thanks Izaan for pointing some people into my thread.
     

Share This Page