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/.
Click http://web.archive.org/web/20150722023432/http://www.pantos.org/atw/h-valid.html link to open resource.