Launchlist is a simple and free of charge program that can check if your HTML and CSS code is correct before sending it online.
You just enter your project details and URL and Launchlist checks if there is anything wrong in there. After that you will receive a checklist with a summary of the test.