...

View Full Version : Validation



Erindesign
10-21-2006, 12:56 AM
I went and got a validation on my website, and got like 100 errors. These are the only 6, but repeated for each simmilar element. WHAT THE HELL DO THEY MEAN?



1. Line 18 column 15: an attribute value must be a literal unless it contains only name characters.
<li><a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /><

2. Line 18 column 44: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
...<a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /></a><

3. Line 18 column 51: NET-enabling start-tag not immediately followed by null end-tag.
<li><a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /></a></li>

4. Line 18 column 51: required attribute "alt" not specified.
<li><a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /></a></li>

5. Line 18 column 51: end tag for "img" omitted, but OMITTAG NO was specified.
<li><a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /></a></li>

6. Line 18 column 35: start tag was here.
<li><a href=?jeshil=kontakt.php><img src=images/kontakt.gif class="image" /><

kaitco
10-21-2006, 01:01 AM
Image and anchor tags need to be written a specific way:


<a href="blah.org"><img src="blahpic.gif" alt="Blah" title="Blah" />

Note the quotation marks.

rpgfan3233
10-21-2006, 01:04 AM
1. You have `<img src=images/*' and `<a href=?jeshil=*', when it should be `<img src="images/*"' and `<a href="?jeshil=*"'.
2. Answer #1 should fix this problem too.
3. Not sure about this one, but my guess is that it is related to the first one.
4. On img elements, you need an "alt" attribute in case your images are not able to be rendered. Some people use text browsers and see only the alt text because text browsers won't display images.
5. The previous answers should take care of this.
6. The previous answers should take care of this.

Erindesign
10-21-2006, 02:35 AM
0 errors... Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum