HTML Tidy is a utility to clean up and pretty print HTML. It fixes HTML-tagging mistakes automatically and improves the layout and indent style of the resulting markup.
Common HTML Tidy fixes ::
- Straighten mixed-up tags
- Fix missing or mismatched end tags
- Add missing items (some tags, quotes, …)
- Report proprietary HTML extensions
- Change layout of markup to predefined style
- Transform characters from some encodings into HTML entities
Installling HTML Tidy on Linux CentosYou can install HTML Tidy on your linux Centos box using yum command
root@server[#] yum install -y php-tidy
Installling HTML Tidy on Linux cPanel
On cPanel server you can install HTML Tidy through EasyApache from exhaustive options list.