View Full Version : hated it!
06-01-2005, 03:02 PM
why is IT (http://validator.w3.org/) so picky? I got 120+ errors in my index page. :(
06-01-2005, 04:45 PM
why is IT (http://validator.w3.org/) so picky? I got 120+ errors in my index page. :(Care to post a URL to the page you're trying to validate?
Certain types of error can cause the generation of up to three additional errors due to a knock-on effect. Of course it could be just that the markup is really malformed.
06-02-2005, 02:34 AM
here is the URL: http://www.freewebs.com/topicexpress
06-02-2005, 12:55 PM
here is the URL: http://www.freewebs.com/topicexpressMy second guess was right: the problem is a lot of mistakes in the markup.
The most prolific error (about 48%) is due to the lack of quotes around attribute values. Most attributes can contain any characters you like, however only a very small subset of those characters can be included without quotes. The simple, forward-thinking approach is to always quote every attribute value, no matter what it contains.
After that, the next most frequent error is a combination of attributes that don't exist in any standard, or invalid values for known attributes.
For example, in a couple of places, you've given p elements a language attribute. The language attribute is only defined for script elements, and even there it has been deprecated (you should use type instead).
Another example is where you've given the valign attribute the value of 'center'. The attribute has only four possible values, and 'center' isn't one of them.
I think the remaining errors are overlapping elements and invalid nesting. A simple example of the former might be:
<b><i>Bold and italic</b></i>An example of the latter is:
Why you have such convoluted markup for such a simple layout is beyond me.
06-03-2005, 01:31 PM
well I am using Microsoft frontpage and always working in the normal tab.
06-03-2005, 04:52 PM
well I am using Microsoft frontpageThat explains a lot. Microsoft software in particular, and WYSIWYG software in general, produce markup of terrible quality. Unless you use them merely to provide syntax highlighting, and other relatively passive features, you stand little chance of producing decent documents without a lot of effort.
always working in the normal tab.Care to explain what you mean by that, and what it has to do with producing bad markup?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.