Check HTML Tools are programs that check for quite a number of possible defects in the HTML files.
Use HTML Validation Service at UCI.
Here's a good list of references to HTML tools, including Check HTML.
Here's a good reference to an HTML analyzer that can assist you in the maintenance of HTML databases. "html_analyzer" is an automated hyperlink validation program.