Developer Blog

Why a web page needs to be XHTML & CSS validated?

While developing a web page, we normally go for XHTML (preferably, Strict 1.0)  & CSS2 validation. This is due to the following reasons:

  • All browsers are competing to comply to the W3 standards. Suppose, for example, an updated version of a browser is released. Our web page may not look as expected if the page does not comply to w3 standards. If we have validated it then it will look fine in the new versions of browsers without making any further changes to the source code.
  • There are lot of browsers in web world. While developing a web page we don’t get chance or time to test our pages in all browsers. But if we have made our page XHTML & CSS validated then we can well be assured that the web page will retain most of its original look & feel in all browsers.
  • Search bots find complied (or validated) pages easy to index.

We can check our web page against XHTML validation at:

  1. XHTML: http://validator.w3.org/
  2. CSS: http://jigsaw.w3.org/css-validator/

 

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image



Get Download Files Review Project Dashboard Know Plan And Wishlist