Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
photo of Jennifer Kyrnin

Jennifer's Web Design / HTML Blog

By Jennifer Kyrnin, About.com Guide to Web Design / HTML since 1997

Validating your Web pages is important

Saturday January 26, 2008
The first thing that I will always tell you to do when you have a problem with your Web designs is validate.
cross your fingers
Image courtesy CraigPJ from StockXchng #605488.
Many problems can be solved just by validating the HTML, but you might be surprised how many people don't do it. The validators on the Web Design / HTML site at About.com make it easy to check your HTML, CSS, and other elements of your pages to make sure that you don't have errors. Once you know they are correct, you'll be able to really get to work on solving your design issues.

Comments

August 11, 2007 at 9:50 am
(1) amu says:

Oddly enough, this very page fails validation. http://validator.w3.org/check?uri=http%3A%2F%2Fwebdesign.about.com%2Fb%2Fa%2F099181.htm

August 11, 2007 at 10:46 am
(2) ventje says:

LOL

August 12, 2007 at 4:16 pm
(3) Jennifer Kyrnin says:

I think most if not all the About.com pages will fail validation. In fact, you’d think I’d learn to post this FAQ every time I post something about validation.

As the FAQ says, I don’t write the HTML for the About.com pages - I write the content. I’d love it if the pages followed the recommendations they give, but About.com is a huge company owned by the New York Times, and I’m one freelance writer.

If you feel strongly about seeing valid pages on About.com, you should write to About.com customer care and let them know.

August 12, 2007 at 8:06 pm
(4) Adam says:

Validation is great. Though I’ve read some “doubts” about it, ie: there was a rumor that google favors “non valid” pages over validated ones…but validation should be used by all developers for better web browser support.

August 13, 2007 at 10:11 pm
(5) dean says:

Much of the “non-valid” code found on about.com is code supplied by advertisers. That’s not going to change anytime soon, because paying customers are better than valid code.
Google doesn’t favor “non-valid” sites, and it doesn’t favor “valid” sites either. Google’s goal is relevance to search terms. Because of the ubiquitousness of non-validating sites, it wouldn’t be a good thing if Google favored valid sites over non-valid sites, as relevance would diminish.

January 29, 2008 at 7:32 am
(6) Bob says:

I try to validate my pages but one thing I find is where I have useful info linked to a third party site it is the link code that fails validation. I have tried to correct it but doing so stops the link working. examples:- my visitor counter, the weather reports and also links to maps which are vital to my site.
Just wondering if others had same problem and how they cured them.

January 30, 2008 at 11:36 am
(7) Chris Flanagan says:

Bob, I had a similar issue linking to Google Maps (ie code not validating; also, very long urls!) - I used TinyURL.com (http://tinyurl.com/) to overcome both problems.

January 30, 2008 at 2:53 pm
(8) Jennifer Kyrnin says:

Bob: Often the reason links fail in validation is because they have ampersands (&) in them. If you’re trying to write XHTML, you have to escape those characters out wherever you find them, even in URLs.

So instead of writing http://blah.com?b=1&l=2

You’d write: http://blah.com?b=1&l=2

Tedious, but that’s what’s required.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore Web Design / HTML

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.