Upload one HTML file at a time to the W3C HTML validator tool if you wish to validate the page through file upload. However, this procedure will not work on other versions of Windows XP or if you use Internet Explorer.
This is maybe the easiest method. Simply copy the code and paste it right into the tool's editor section. The W3C validator will then complete the validation process.