or download this
% tidy -e test.html
Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
...
Please send bug reports to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium