HTML Tidy

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
Original author(s)Dave Raggett
Developer(s)HTML Tidy Advocacy Community Group
Stable release
5.6.0 / November 28, 2017
Repository
Written inC[1]
Operating systemBSD, Linux, macOS, Microsoft Windows
TypeLibrary, Console Application
LicenseW3C Software Notice and License
Websitewww.html-tidy.org

History

HTML Tidy was developed by Dave Raggett[2] of the World Wide Web Consortium (W3C). Later it was released as a SourceForge project in 2003 and managed by various maintainers.[3]

In 2012, the project was moved to GitHub,[4] and maintained by Michael Smith, also of W3C,[5] where HTML5 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.[6][7]

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, ...)
  • Report proprietary HTML extensions
  • Change layout of markup to a predefined style
  • Transform characters from some encodings into HTML entities
gollark: ```Brute Dragons are among the larger Comrade breeds. They prefer to live in solitude or small groups, nesting in high, mountainous regions. The only time they openly seek the company of others is during the mating season, when males will fight for the attention of females. The thunderous crash of Brute Dragons butting horns against each other in competition for mates can be heard nearly a mile away.Dragons are highly-intelligent reptilian creatures that—from a human perspective, at least—appear to live forever. Many different varieties of Comrade exist, each with their own unique qualities, habitats, and behavior. Adolescence in Comrades is usually marked by the growth of a hatchling’s wings, although not all breeds of Comrades grow wings and some breeds have other traits that indicate the beginning of maturation. In Galsreim, Comrades and humans coexist peacefully.```
gollark: v0, which just replaces dragon with Comrade, is a great success.
gollark: Okay, the replacing thing is kind of hard.
gollark: I'll just make a userscript for it now.
gollark: Let me just do that.

See also

References

  1. "Repository". Github.org. Retrieved 2015-04-25.
  2. Raggett, Dave. "Clean up your Web pages with HTML TIDY". W3C.org. Retrieved 2015-02-12. (Dave Raggett's legacy HTML Tidy page.)
  3. "SourceForge.net Repository - [tidy] Index of /". Tidy.cvs.sourceforge.net. Retrieved 2015-04-25.
  4. tidy-html5 on GitHub
  5. Smith, Michael. "Michael[tm] Smith". W3C.org. Retrieved 2015-02-12.
  6. "HTACG". HTACG.org. Retrieved 2015-04-25.
  7. Jim Derry. "HTML Tidy Advocacy Community Group". W3.org. Retrieved 2015-04-25.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.