Validating My Site (Error) Help Me Please

Discussion in 'HTML & Website Design' started by Double V, Aug 14, 2007.

  1. #1
    I tried to run validation on my site
    I am getting following errors.
    Somebody please help me

    :(

    Error1
    Line 79, Column 317: required attribute "alt" not specified.…height="120" border="0" id="Image7" /></a></span> </p>✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

    Error2
    Line 80, Column 326: required attribute "alt" not specified.
    …height="120" border="0" id="Image8" /></a></span> <img src="http://www.pixeld

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

    Error3
    Line 80, Column 420: required attribute "alt" not specified.
    …/logo.jpg" width="400" height="160" /> <a href="http://www.pixeldesigns.dk/po✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


    Error4
    Line 80, Column 728: required attribute "alt" not specified.
    …height="120" border="0" id="Image6" /></a><br />✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
     
    Double V, Aug 14, 2007 IP
  2. The Webmaster

    The Webmaster IdeasOfOne

    Messages:
    9,516
    Likes Received:
    718
    Best Answers:
    0
    Trophy Points:
    360
    #2
    The Webmaster, Aug 14, 2007 IP
  3. Double V

    Double V Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot brother.
    Let me try these changes.

    Thanks.
     
    Double V, Aug 14, 2007 IP
  4. Double V

    Double V Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Okay I did that.
    And now my image is displaying with a border which i dont want
    And it looks so messy.

    Please help

    This is how its looking :(

    [​IMG]
     
    Double V, Aug 14, 2007 IP
  5. save

    save Active Member

    Messages:
    1,047
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    80
    #5
    just add the border="0" as you had before or use a css border which is even better.
     
    save, Aug 14, 2007 IP
  6. The Webmaster

    The Webmaster IdeasOfOne

    Messages:
    9,516
    Likes Received:
    718
    Best Answers:
    0
    Trophy Points:
    360
    #6
    Use this

    <img src="Image source" alt="alternate text" border=0 />
     
    The Webmaster, Aug 14, 2007 IP
  7. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #7
    put in your css img {border:0px;}
     
    twistedspikes, Aug 14, 2007 IP
  8. Double V

    Double V Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8

    Thanks.
    That did help in removing the border.
    But now another problem.
    The rollover picture is not showing when I move my mouse on the picture :(
     
    Double V, Aug 14, 2007 IP
  9. Double V

    Double V Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Please help me :(
     
    Double V, Aug 14, 2007 IP
  10. The Webmaster

    The Webmaster IdeasOfOne

    Messages:
    9,516
    Likes Received:
    718
    Best Answers:
    0
    Trophy Points:
    360
    #10
    Are you using Javascript rollovers?

    There must be some errors in your javascript code..
     
    The Webmaster, Aug 14, 2007 IP
  11. designerz

    designerz Banned

    Messages:
    669
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #11
    For the first thing, you just need to add an alt tag to your image coding. It's nothing hard.
     
    designerz, Aug 14, 2007 IP