Terry Sullivan's "Understanding HTML Validation"

Read this article. Also, if you wish to validate some HTML pages, you can do this by going to http://validator.w3.org/.