HTML Tidy
From Wikipedia, the free encyclopedia
HTML Tidy is a computer program and a library whose purpose is to fix invalid HTML and give the source code a reasonable layout (aka indent style).
It was developed by Dave Raggett of W3C, then passed on to become a Sourceforge project. Its source code is written in ANSI C for maximum portability and precompiled binaries are available for a variety of platforms. It is available under the W3C license (a permissive, BSD-style license).
Examples of bad code it is able to fix:
- Missing or mismatched end tags, mixed up tags
- Adding missing items (some tags, quotes, ...)
- Reporting proprietary HTML extensions
- Change layout owing to predefined style
- Transform characters from some encodings into HTML entities
- Cleaning up presentational markup
[edit] See also
[edit] External links
- HTML Tidy Project Page
- Clean up your Web pages with HTML TIDY
- HTML Tidy service an online version of the HTML checker (w3.org)
- Mozilla/Firefox extension for HTML validation based on Tidy