HTML Tidy
   HOME

TheInfoList



OR:

HTML Tidy is a
console application A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command-line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most gr ...
for correcting invalid
HyperText Markup Language The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript ...
(HTML), detecting potential web accessibility errors, and for improving the layout and
indent style In computer programming, an indentation style is a convention governing the indentation of blocks of code to convey program structure. This article largely addresses the free-form languages, such as C and its descendants, but can be (and oft ...
of the resulting markup. It is also a cross-platform
library A library is a collection of materials, books or media that are accessible for use and not just for display purposes. A library provides physical (hard copies) or digital access (soft copies) materials, and may be a physical location or a vir ...
for
computer applications A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations ( computation) automatically. Modern digital electronic computers can perform generic sets of operations known as programs. These pr ...
that provides HTML Tidy's features.


History

HTML Tidy was developed by Dave Raggett of the
World Wide Web Consortium The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working ...
(W3C). Later it was released as a
SourceForge SourceForge is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirroring ...
project in 2003 and managed by various maintainers. In 2012, the project was moved to
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continu ...
, and maintained by Michael Smith, also of
W3C The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
, where
HTML5 HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HTML ...
support was added. In 2015, the HTML Tidy Advocacy Community Group (HTACG) was formed for management and development of HTML Tidy as a W3C Community Group. HTML Tidy source code is written in
ANSI C ANSI C, ISO C, and Standard C are successive standards for the C programming language published by the American National Standards Institute (ANSI) and ISO/IEC JTC 1/SC 22/WG 14 of the International Organization for Standardization (ISO) and th ...
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 BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lice ...
. 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.


Features

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


See also

*
Comparison of HTML parsers HTML parsers are software for automated Hypertext Markup Language (HTML) parsing. They have two main purposes: * HTML traversal: offer an interface for programmers to easily access and modify the "HTML string code". Canonical example: DOM par ...
* CSSTidy


References


External links


HTML Tidy Project Page

Current Source Code

Official Binary Releases

HTML Tidy Project Page
(legacy)
HTML Tidy service
Was an online version of HTML Tidy at the W3C. The W3C online tidy service was decommissioned on 29 November, 2017. {{HTML editors Free software programmed in C HTML editors Software using the W3C license