HTML Tidy
From Wikipedia, the free encyclopedia
This article is about the computer software named HTML tidy. For a definition of the word « tidy », see the Wiktionary's entry tidy.
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 variety of platforms. It is available under the W3C license (a permissive, BSD-style license).
Examples of bad code it's 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] 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)
- HTML Tidy Online - another online version of the HTML checker
- Mozilla/Firefox extension for HTML validation based on Tidy