An interesting problem with anchors in HTML

Discussion in 'HTML & Website Design' started by jumpenjuhosaphat, Sep 25, 2007.

  1. #1
    I am trying to place anchors in my HTML, but, when I hover the anchor text, I see this in the status bar:
    
    http://www.mysiteadress.com/"http://www.site-I-am-linking-to.com"
    Code (markup):
    If I click on the link, it takes me to the same type of link. I don't know what could cause this, obviously, I've never seen this before.

    Here is the code

    <body bgcolor="#ccc8b8">
    
    <div class="main">
    
    <img src="images/shed.jpg" alt="Shed-n-Deck, call today to schedule an installation 720-229-7682"/>
    
    <div class="menu">
    <ul>
    <li><a href="www.shed-n-deck.com">Home</a></li>
    <li><span>Sheds</span></li>
    <li><a href=”http://www.shed-n-deck.com/decks.html”>Decks</a></li>
    <li><a href=”http://www.shed-n-deck.com/gazebos.html”>Gazebos</a></li>
    <li><a href=”http://webdesigninfo.wordpress.com”>Downloads</a></li>
    </ul>
    </div>
    
    
    <h3>Why choose Shed-n-Deck to build your shed?</h3>
    <p>Although price is an important factor when choosing who to install your backyard storage shed, it is only one of many reasons why Shed-n-Deck should be your choice.</p>
    </div>
    </body>
    Code (markup):
    Can anyone see anything wrong in this code?
     
    jumpenjuhosaphat, Sep 25, 2007 IP
  2. MakeADifference

    MakeADifference Peon

    Messages:
    476
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change the first link
    <li><a href="www.shed-n-deck.com">Home</a></li>
    to
    <li><a href="http://www.shed-n-deck.com">Home</a></li>

    The other links have special characters around the link instead of double quote
     
    MakeADifference, Sep 25, 2007 IP
    jumpenjuhosaphat likes this.
  3. jumpenjuhosaphat

    jumpenjuhosaphat Peon

    Messages:
    229
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nice, that fixed it....I wonder how that happened? Anyhow, I appreciate you finding that for me....
     
    jumpenjuhosaphat, Sep 25, 2007 IP
  4. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #4
    It might happen if you or someone uses a word processor such as Word to write the HTML.
     
    krt, Sep 25, 2007 IP
  5. Subliminal

    Subliminal Active Member

    Messages:
    322
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Yeap.. MakeADifference is right!
     
    Subliminal, Sep 30, 2007 IP