This article needs additional citations for verification. (August 2012)
HTML Tidy is a console application for correcting invalid HyperText Markup Language (HTML), detecting potential web accessibility errors, and for improving the layout and indent style of the resulting markup. It is also a cross-platform library for computer applications that provides HTML Tidy's features.
HTML Tidy source code is written in ANSI C for portability. Compiled binary files are available for a variety of platforms. It is available under the W3C Software Notice and License, a permissive BSD-style license. Up-to-date versions are available as source code cloned from its GitHub Git version control repository, or in binary packages for multiple operating systems from its GitHub Releases repository.
Examples of corrections to invalid or poorly constructed HTML:
- Reorder mixed-up tags
- Complete missing or mismatched end tags
- Add missing syntax elements (some tags, quotes, etc.)
- Report proprietary HTML extensions
- Change layout of markup to a predefined style
- Transform characters from some encodings into HTML entities
- https://github.com/htacg/tidy-html5/releases/tag/5.8.0; publication date: 16 July 2021; retrieved: 25 November 2021.
- Raggett, Dave. "Clean up your Web pages with HTML TIDY". W3C.org. Retrieved 2015-02-12. (Dave Raggett's legacy HTML Tidy page.)
- "SourceForge.net Repository - [tidy] Index of /". Tidy.cvs.sourceforge.net. Retrieved 2015-04-25.
- tidy-html5 on GitHub
- Smith, Michael. "Michael[tm] Smith". W3C.org. Retrieved 2015-02-12.
- "HTACG". HTACG.org. Retrieved 2015-04-25.
- Jim Derry. "HTML Tidy Advocacy Community Group". W3.org. Retrieved 2015-04-25.