Forum Moderators: open

Message Too Old, No Replies

Validating My Site

Attribute errors

         

Double_V

12:55 pm on Aug 14, 2007 (gmt 0)

10+ Year Member



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>&#9993;

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&#9993;

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 />&#9993;

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>.

bcolflesh

12:58 pm on Aug 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to add alt="" to your image tags - they should contain text that describes the image, or be empty, if they are spacing elements.

[w3schools.com...]

Double_V

1:52 pm on Aug 14, 2007 (gmt 0)

10+ Year Member



Thanks let me check

g1smd

1:18 pm on Aug 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Take time to read the error messages that the validator gives.

Although the language is geeky and obtuse, it did already say on each error that the "alt" attribute was missing.