Validate The XHTML For A Whole Site In One Click
I got an email this morning from Shahar telling me about a XHTML tool that he’s released that I’m sure will prove very popular. Shahar has written a XHMTL validation tool that validates a whole site in one click, rather than a page at a time like other tools. This is fantastic as one thing that stops me validating my complete site is the time it takes to validate each page.
Why XHTML Validate?
Validating your pages is very important:
- It Helps Resolve Cross-Browser, Cross-Platform And Future Compatibility Issues - if your code validates more users than not will see your pages as intended
- Search Engine Visibility - if your pages are well formed then it is easier for spiders to index all your pages i.e. understand them
Using the XHTML tool is very easy. All you have to do is download the tool and install it as it is not browser-based. Then enter your url for your sitemap (usually http://www.yoursite.com/sitemap.xml) and let the tool work it’s magic. This might take a while if you have a big site e.g. for Connected Internet there are 3965 pages to check.

For any invalid pages that are discovered, you just click on the arrow next to the url and it will display the errors for that page. If you hover over each individual error more details are displayed that can aid debugging.
I think this is a brilliant tool and I’m going to add running my sites through this to my monthly blog housekeeping.





Comment by P7 on 25 May 2008:
W3C service is so good. It makes my site load much faster after cleared all invalidate codes.Thanks
Read P7’s latest blog post….Canon Digital Rebel XSi 12MP Digital SLR Camera with EF-S 18-55mm f/3.5-5.6 IS Lens>>>
Comment by Jamie on 11 June 2008:
Anyone have any recommendations for a browser-based or Mac-compatible site-wide validation tool? I have a site with hundreds of pages and I don’t want to use a tool that goes page-by-page. Thanks.