Tidy
From Notes_Wiki
<yambe:breadcrumb>File-type_or_document_related_tools|File-type or document related tools</yambe:breadcrumb>
tidy
Tidy can be used to check an HTML document and to correct it, if necessary, so that it is XHTML complaint. To use tidy to check and possible correct an HTML file one can use:
tidy -o <corrected-file> <input-file>