Importance of validation

Filed under: Misc. Tips

Valid code for web pages is of vital importance. Your webpage should validate for html, css and robots.txt, if you use one.

Valid code helps less forgiving browsers to display your web page as you intended it. By sticking to web standards, you also future proof your web sites for future browsers, which may not be able to display your web pages as elegantly with invalid code.

Search engines also likes web pages and web sites that validate. You can imagine that valid links and valid code makes for easier spidering and indexing of your site as there is less “computation” required by the bots.

Also keep things consistent, if you use single quotes in your anchor tags (eg <a href=> ), then use single quotes throughout your html. Consistency helps avoid confusion by web browsers and search engine bots.

As part of quality control of your websites, you should to perform validations for:

  • HTML
  • CSS
  • robots.txt

Spell checking your documents is also a must. Spelling errors decreases the visitor’s or customer’s perception of your site and your company’s competence. It’s not hard to run your text through a spell checker before publishing!

A list of validators:

divider

Leave a Comment