version 5.6.0 Last revised/verified: 2017-11-25 In general, a tidy program is any program that cleans up data or source. Sometimes they are called tidiers, beautifiers or pretty-printers.
There is one important program for tidying HTML5 (Hypertext Markup Language v 5) called tidy.exe. It gives you quite fine control. I find it makes changes I don’t particularly like, so I do post processing with a Funduc Search and Replace script.
Tidy.exe is an open source program written in C, originally by W3C (World Wide Web Consortium). It beautifies, transforms and corrects errors in HTML (Hypertext Markup Language) source. For example in indents, starts new lines for <br> and converts old-style HTML to CSS (Cascading Style Sheets). It is highly configurable.
Download the binary containing tidy.exe in the zip file. Unpack it and put tidy.exe into "X:\Program Files\tidy\".
Create a tidy.config file that looks something like this:
Read the Quick Reference to discover what the possible options are. Click on the option to get more detail.
rem run tidy on some.html replacing the contents with the tidied contents. set TidyDir=F:\Program Files\tidy\bin %TidyDir\tidy.exe -config E:\env\tidy.config -m some.html
This page is posted
Optional Replicator mirror
Your face IP:[126.96.36.199]
You are visitor number|