- 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:
<h1><hr>heading</h1>
<h2>sub<hr>heading</h2>
<a href="#refs">References<a>
is converted to
<hr>
<h1>heading</h1>
<h2>sub</h2>
<hr>
<h2>heading</h2>
<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