Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2003 What is Validation? Why should I do it? How do I do it?

irt.org | Knowledge Base | HTML | Q2003 [ previous next ]

Q2003 What is Validation? Why should I do it? How do I do it?

Validation is using a program that will go through your HTML and check for accuracy against the DOCTYPE you have chosen. If there are any inconsistencies in your HTML from your DOCTYPE, the validator will give you an error message to help you track down the error and fix it before considering the work "done".

A few reasons for validation (NOT, of course, a complete listing):

  • You can be assured that your page will render similarly in all browsers that support the DOCTYPE standard you have chosen to write under.
  • There will be less unexpected rendering of your page.
  • Validating will catch "misspellings" in your HTML and find little things such as missing end tags or quotes (validators are NOT, however, spellcheckers).

To validate your page, choose a DOCTYPE and place the statement at the VERY top of your HTML (above the <HTML> tag). Then upload and go to one of the validator sites below and follow the instructions. It may take a little work finding the right validator for you, but keep trying, the results will be clean HTML!

For further information see the article Stop! Is Your HTML Document Valid? at http://www.irt.org/articles/js138/index.htm.

Feedback on 'Q2003 What is Validation? Why should I do it? How do I do it?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.