How to Validate Your Website

What is validations? Validation is the process of checking if the language structure is correct. For those of you familiar with languages such as Java and C++, you have a compiler and at times it may kick out errors and warnings. For [X]HTML, the process is just the same.

Why worry about validation of [X]HTML if it's only a markup language? Well, each browser is different and not having proper code could affect the way people view the page. Also, if you are a web designer, it is unprofessional to have a website for a client that does not validate.


  1. Image titled Validate Your Website Step 1
    Write the initial code.
  2. Image titled Validate Your Website Step 2
    Review the code before going to the actual checker.
  3. Image titled Validate Your Website Step 3
  4. Image titled Validate Your Website Step 4
    Review any errors or warnings that it kicks out.
  5. 5
    In general, the best way to clean up a site is to make sure that everything is organized well and use the validator to fix the errors.
  6. Image titled Validate Your Website Step 6
    If you are using XHTML, make sure that the tags are in the correct order.


  • This site will give you an option to "Clean" up the code automatically. Be aware that it will put a meta tag for the generator, mess up any special characters such as the copyright, and honestly it looks far from professional. And the only reason that it "passes" is because they override the code with special tags that are set to ignore any issues in the parser.
  • Try to avoid deprecated tags as much as you can since the validator will automatically kick out an error. Try not to use generators because at times they will cause errors too.

Article Info

Categories: Website and Blog Creation