homepage Welcome to WebmasterWorld Guest from 54.198.8.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

This 93 message thread spans 4 pages: < < 93 ( 1 2 3 [4]     
Are you AFRAID of Validation?
pageoneresults




msg:3832108
 10:07 am on Jan 22, 2009 (gmt 0)

Okay, what is it that deters you from validating your documents? Is it the fear of running that first validation routine and finding hundreds of errors? Ya, I'll agree, those validation reports can be rather daunting to the uninitiated.

I was just performing a quality check on recently changed pages and WHAM! 47 errors on a page. Yikes, where did that come from. To the untrained eye this would have been enough to make me hit the back button and just avoid the whole process altogether. The site works and looks just fine, I have no idea what those 47 errors were, are, will be. ;)

I check the first error in sequence and I left out a closing </p> element. Run validation again and tada, all is fine. Yes, one closing </p> element missing and it caused a cascade of 46 other errors. When I first started validating (a long, long time ago), I remember looking at those errors and gasping. Then I realized that if you take them one by one as they are presented, you'll find that many of the following errors are a cascade of the ones up top. Did that make sense?

I know we've had topics in the past on the most common validation errors and I think it is always good to refresh memories and alert new Webmasters that there is nothing to FEAR when validating documents. It may appear to be somewhat major at first but once you start addressing the errors in sequence, you may be able to go from 300+ to under 50 with just a few corrections in your HTML. The example I provided above with the closing </p> element is a primary error that many run into. Just one or two missing and/or incorrectly nested elements and validation is a mess.

Remember, take the errors one at a time and start at the very top of the validation report. Don't jump down to the middle of the report as that won't do you any good. You have to address the errors in sequence so that you don't end up "chasing the cascade".

W3C Markup Validation Service
[validator.w3.org...]

W3C CSS Validation Service
[jigsaw.w3.org...]

W3C RDF Validation Service
[w3.org...]

How many errors do you have on your home page this very moment? Let's get them corrected. No code dumps please. Just the first error in sequence and we can work from there. If you have hundreds, well, you'll probably need to follow along and work most of those out yourself. There will be many here who will most likely have upwards of 200, 300 and even 500+ errors. If you have errors in this number range, this is something that should be looked at soon as there are surely some in there that are potentially fatal in nature. I can understand a handful of common errors. But not a high number of uncommon errors, those could be trouble.

 

Gibble




msg:3839280
 8:06 pm on Jan 31, 2009 (gmt 0)

It's not always my design, requirements, or whatever that causes the conditionals to be required.

Did you read the articles I posted?

IE is absolutely abysmal in how it renders. The foundation of it's engine is the cause, and until they rewrite it, from scratch, it will be the curse of all web developers

poppyrich




msg:3839969
 1:37 am on Feb 2, 2009 (gmt 0)

@Gibble

I hope I'm not beating a dead horse by adding yet another post to this thread, but IE's engine HAS been re-written from the ground up.
IE8 Standards mode (not its Quirks or IE7 Compat mode) uses a completely different rendering engine.
Your wish has come true.

Gibble




msg:3840350
 3:43 pm on Feb 2, 2009 (gmt 0)

@Poppy

When I said re-written, I should have added the word "properly" :p

This 93 message thread spans 4 pages: < < 93 ( 1 2 3 [4]
Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved