W3C home > Mailing lists > Public > www-html@w3.org > July 2006

Re: html validation: exactly what is it good for?

From: Navjot Pawera <navjotpawera@gmail.com>
Date: Thu, 6 Jul 2006 12:44:26 +0530
Message-ID: <ad82cf2b0607060014v5b437f04v9fc886d7b7b4e403@mail.gmail.com>
To: www-html@w3.org
When you say "targetted browser", in your context I would understand it to
be a very specific combination of an internet browser, screen media and
platform. Validating essentiallly means you are checking your code to comply
with the standards defined. These standards define how your web-page should
behave when viewed from any browser or platform or screen media.

Even different versions of browsers  would render different code in a
different manner.
Valid code is the first step ensure your web-page is atleast
"understood" by any browser that comes across that specific web-page.

When talking about "disadvantages" of invalid code, you have to
consider that browser and platform independence is the essence of
defining standards. Saying that your website works in "targetted
browser" is undermining the very reason for validating your website.
Valid code is the lowest but the foremost surity that your "targetted
browser" will render
your web-page as it is meant to be even in the future versions of the

If you care about SEO, valid code makes even more sense. When an internet
spider/ bot encounters your web-page, and tries to read it. It might
interpret invalid code in different ways, but atleast would know how to read
valid code. Its easier to read and
understand text from a book(which would be standard) than handwritten paper
written by different people(variable with everypage). Invalid code
factors for error which can be reduced to minimal with valid and
semantically complete code.

Just to put practical reasons that might make sense to you:
1. valid code would mean you test in lesser browsers
2. valid code would mean your website works in future versions as well
3. valid code would mean your website is accessible by maximum set of users
over the internet (consider that missing out on even 1% of the users would
effectively mean closing doors to millions of users everyday)
4. valid code would mean internet bots/spiders know how to read your website

On 7/6/06, Shlomi Asaf < neoswf@gmail.com> wrote:
> Hi
> I have a question that crossed my mind, and i wish to get help from you
> guys: HTML Validation- what is it good for?
> I try to find the disadvantages of a non validated site against one
> validated, and let me try to explain what i mean.
> If i build a website, according to his declaration - let say Strict XHTML,
> and its answering all the roles of Strict Xhtml, but its not valid cause,
> for example, i haven't used "" to surround values, or i haven't closed
> single tags using Slash (< />), but other wise i did everything by the
> scheme.
> What can be the damage?
> If i open the site and see that it works on my target browsers, why i need
> the validation for? what do i benefit from it?
> It says it helps me improve my SEO, but i see all the first results at
> Google, for lets say "Forex" keyword, and none of them are valid.
> I assume the main price is time rendering cost, but what can be else?
> Thanks a lot.
> Shlomi.A

Navjot Pawera
Web Evangelist - Opera Software
Received on Thursday, 6 July 2006 07:15:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:13 UTC