Forum Moderators: open

Message Too Old, No Replies

Website Validation

Current thoughts on the importance (or not) of validation

         

JHobson

9:58 pm on Nov 26, 2006 (gmt 0)

10+ Year Member



Lately I've read several posts on various websites that downplay, even dismiss, the value of a validated website. Personally I have seen better SEO results with the validated websites which we have developed. I think that it has true value - if nothing else it shows that you are concerned about product quality.

Anybody have any comments or thoughts to share?

jbinbpt

10:28 pm on Nov 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi JHobson,
Welcome to WebmasterWorld.

Good clean code is always better to have. If your code is broken, then you can't expect it to be indexed fully.

I think everyone should valdiate and clean up as much as possible, but I don't believe that 100% valdiation is all that much better than 90%. Valdiate sites that rank well in your sector. That will show you the value.

tedster

2:07 am on Nov 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just found an HTML error on a template for a client site that was really hurting them. Somehow the "open quote" for an attribute early in the body tag mark-up was missing. So the "close quote" was getting parsed as an open quote. The result? Their entire H1 element -- on every single page -- was being seen merely as an attribute.

Not every validation failure is as devastating as this one, but I've seen some that are even worse. It only makes sense to check, even though search engines do not hand out "gold stars" for validating, the rankings you save by catching and fixing errors may be very real.

Sometimes the most deadly errors can be the hardest to notice without doing a programmatic check.

[edited by: tedster at 10:44 pm (utc) on Nov. 27, 2006]

rocknbil

10:51 am on Nov 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've seen sites that are horribly invalid html, some even without opening <html> tags much less a valid document type, that are constantly on top of the search engines. <html></html> within <html></html>. What this tells me is that search engines don't care about valid html - they want to digest content.

The importance of valid HTML goes far beyond search engine considerations. When you validate, you spot many other serious issues and it forces you to create better and better documents, which can only help digestibility. As you say, product quality. You can't even begin to have a document compatible with accessibility guidelines without valid html.

The quote error tedster mentioned is one of the disasterous things that browsers will forgive you for but search engines might not.

texasville

4:22 pm on Nov 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The importance is limited strictly to the workability of your code. There are things that are used in some code that honestly just purists desires rather than broken code. These can be safely ignored. It won't hurt your site.
But well constructed code is a must. And don't rely on just validation. I have seen valid pages that still don't display the same in all browsers. Check your code and view in all browsers.

kaled

12:41 pm on Nov 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are minor validation errors (such as missing alt attributes) and there are critical errors such as missing attribute quotes. In between, you have things like '&' not being encoded as '&amp;'.

Minor errors can safely be ignored from a search engine perspective. Critical errors MUST be fixed. Other errors should certainly be corrected but if the site works, correctly on all the common browsers, they can be given a lower priority.

Kaled.

Robin_reala

12:55 pm on Nov 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You certainly can't ignore missing alt attributes from an accessibility perspective.