Alt tag not working ??

Discussion in 'HTML & Website Design' started by nim3, Dec 17, 2011.

  1. #1
    Hi

    Ive added the alt tag to my blog post HTML but when I scroll over my image link I cant see the alt text, but rather the actual website link the image directs to.

    The HTML is as follows:

    <a href="http(web address)><img border="0" src="http://3.bp.blogspot.com/-0NSxf_2q-QI/TuuIMM1e9PI/AAAAAAAAABg/b5G5ameqzEE/s1600/sign+up+nw.png" alt="Sign Up" /></a>&nbsp;

    Why isnt the alt text showing up?

    Thanks

    nim3
     
    nim3, Dec 17, 2011 IP
  2. VPS6NET

    VPS6NET Member

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #2
    I believe that this will happen when the image is contained inside an a anchor, just like how if you try to 'drag' the image off your page, most browsers will select a link instead of the image itself. The alt text is still being read (e.g., by crawlers), even if it doesn't appear when you hover on the image.
     
    VPS6NET, Dec 17, 2011 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    The alt text won't show up if you have an image present.
     
    drhowarddrfine, Dec 17, 2011 IP
  4. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #4
    the alt text is only shown when the image url is either pointing to the wrong file or when the image is unavailable. If you want something to show up when you hover then you should google image hovers in blogspot
     
    Toycel, Dec 18, 2011 IP
  5. somacorellc

    somacorellc Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What you're looking for is the title tag.

    <a href="whatever.com" title="click it!">text</a>
     
    somacorellc, Dec 18, 2011 IP
  6. harrysom

    harrysom Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Alt tag is only working when your image is unavailable.
     
    harrysom, Dec 19, 2011 IP