PDA

View Full Version : Failing W3C Validation


Quadrille
09-11-2004, 16:38/04:38PM
When I get a moment, which isn't as often as I should, I check a site or two and try to get W3C validation.

All the validators are good at finding my errors and ignorance, but few are good at teaching me how to be better - so that's one problem. Mention Bobby just once, and I'll not be responsible for my actions :)

The second problem is that javascript regularly chucks up errors, such as Line 130, column 41: end tag for element "SMALL" which is not open if I cannot correct these, should I worry?

Third prob is page counters; the one my service provider provides includes something like ...cgi?df=moomin-divolk.dat&pad=F&ft=0&dd=E&istrip=T', which singlehandedly produces 8 error reports! Commercial types, like nedstat, still throw up 3 or 4. Is there any way around that?

kalidust
09-11-2004, 16:52/04:52PM
I promise I won't mention that name ;) But to let you know it isn't what it used to be regarding accessibility validation.

ihelpyou
09-11-2004, 17:33/05:33PM
The main "warning" I see most of all is this one:

<link href="include/style.css" rel="stylesheet" type="text/css">

Or this for a <script>

<script language="JavaScript" type="text/javascript">

type=text/javascript or type=text/css are 'not' put in and will cause all the warnings in w3c for css files and script tags.

Most stats trackers don't include the 'type' in the tag.

Believe me, I just fixed this today on a site.

Oh, and another problem was the w3c saying stuff about p tags not being closed or too many closed, etc. I fixed that by deleting all the <p> tags and sticking in <br> tags. That fixed it.

The w3c did not give much info about what or why they saw these open tags or not closed tags, and NO way could I find them.