I’ve had a few questions recently about validating code. This W3C page is probably your best bet for validating. The nice thing about this is you don’t have to have your site live, on a domain or URl or server to validate this. As most of my student’s projects are built and tested locally, this is a handy tool because you can upload a file from your computer instead of having to put it online to test.