Jump to content

HTML Tidy

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 91.178.132.106 (talk) at 21:18, 12 January 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
HTML Tidy
Original author(s)Dave Raggett
Developer(s)HTML Tidy Advocacy Community Group
Stable release
5.4.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

HTML Tidy is a console application whose purpose is to fix invalid HTML, detect potential web accessibility errors, and improve the layout and indent style of the resulting markup. It is also a cross-platform library that can be used by programmers in computer applications to add HTML Tidy's capabilities to them.

History

It was first developed by Dave Raggett[2] of World Wide Web Consortium (W3C), then released as a SourceForge[3] project in 2003 and managed by various maintainers.

In 2012 the project was moved to GitHub[4] and maintained by Michael Smith, also of W3C,[5] where critical HTML5 support was added.

In 2015 the HTML Tidy Advocacy Community Group (HTACG)[6] was formed to take over management and development of HTML Tidy as a W3C Community Group.[7]

Its source code is written in ANSI C for maximum portability and 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 currently 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 fixes it can make to bad HTML:

  • Straighten mixed-up tags
  • Fix missing or mismatched end tags
  • Add missing items (some tags, quotes, ...)
  • Report proprietary HTML extensions
  • Change layout of markup to predefined style
  • Transform characters from some encodings into HTML entities

HTML Tidy Applications

Online HTML Tidy is a free web browser application, able to correct invalid HTML code and execute the desired cleaning options.[8]

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.
  8. ^ "HTML Tidy - Online Markup Corrector". www.htmltidy.net. Retrieved 2016-12-31.