- Note
- The repository github.com/htacg/tidy-html5 and this documentation should be considered canonical for HTML Tidy as of 2015-January-15. See History
Tidy corrects and cleans up HTML content by fixing markup errors such as mismatched, misnested and missing tags, missing end "/" tags, missing quotations et all, eg:
2 <h2>sub<hr>heading</h2>
3 <a href="#refs">References<a>
is converted to
6 <a href="#refs">References</a>
This project has two parts:
- tidylib
- a C static or dynamic library that developers can integrate into their applications in order to bring all of Tidy’s power to your favorite tools.
- tidy command
- a console application built on tidylib for Mac OS X, Linux, Windows, UNIX, and more.
Contents