Jump to content

HTML Tidy: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m use {{github}} template
Line 32: Line 32:
It was first developed by [[Dave Raggett]] <ref>{{cite web | url=http://www.w3.org/People/Raggett/tidy/ | title=Clean up your Web pages with HTML TIDY | first=Dave | last=Raggett | work=W3C.org | accessdate=2015-02-12}} (Dave Raggett's legacy HTML Tidy page.)</ref> of [[World Wide Web Consortium]] (W3C), then released as a [[SourceForge]]<ref>{{cite web|url=http://tidy.cvs.sourceforge.net/tidy/ |title=SourceForge.net Repository - [tidy&#93; Index of / |publisher=Tidy.cvs.sourceforge.net |date= |accessdate=2015-04-25}}</ref> project in 2003 and managed by various maintainers.
It was first developed by [[Dave Raggett]] <ref>{{cite web | url=http://www.w3.org/People/Raggett/tidy/ | title=Clean up your Web pages with HTML TIDY | first=Dave | last=Raggett | work=W3C.org | accessdate=2015-02-12}} (Dave Raggett's legacy HTML Tidy page.)</ref> of [[World Wide Web Consortium]] (W3C), then released as a [[SourceForge]]<ref>{{cite web|url=http://tidy.cvs.sourceforge.net/tidy/ |title=SourceForge.net Repository - [tidy&#93; Index of / |publisher=Tidy.cvs.sourceforge.net |date= |accessdate=2015-04-25}}</ref> project in 2003 and managed by various maintainers.


In 2012 the project was moved to [[GitHub]]<ref>{{cite web|author=|url=https://github.com/w3c/tidy-html5 |title=htacg/tidy-html5 ¡ GitHub |publisher=Github.com |date= |accessdate=2015-04-25}}</ref> and maintained by Michael Smith, also of [[World Wide Web Consortium|W3C]],<ref>{{cite web | url=http://people.w3.org/mike/| title=Michael[tm] Smith | first=Michael | last=Smith | work=W3C.org | accessdate=2015-02-12}}</ref> where critical [[HTML5]] support was added.
In 2012 the project was moved to [[GitHub]]<ref>{{github|w3c/tidy-html5}}</ref> and maintained by Michael Smith, also of [[World Wide Web Consortium|W3C]],<ref>{{cite web | url=http://people.w3.org/mike/| title=Michael[tm] Smith | first=Michael | last=Smith | work=W3C.org | accessdate=2015-02-12}}</ref> where critical [[HTML5]] support was added.


In 2015 the [[htacg|HTML Tidy Advocacy Community Group]] (HTACG)<ref>{{cite web|url=http://www.htacg.org |title=HTACG |publisher=HTACG.org |date= |accessdate=2015-04-25}}</ref> was formed to take over management and development of HTML Tidy as a W3C Community Group.<ref>{{cite web|author=Jim Derry |url=http://www.w3.org/community/htacg/ |title=HTML Tidy Advocacy Community Group |publisher=W3.org |date= |accessdate=2015-04-25}}</ref>
In 2015 the [[htacg|HTML Tidy Advocacy Community Group]] (HTACG)<ref>{{cite web|url=http://www.htacg.org |title=HTACG |publisher=HTACG.org |date= |accessdate=2015-04-25}}</ref> was formed to take over management and development of HTML Tidy as a W3C Community Group.<ref>{{cite web|author=Jim Derry |url=http://www.w3.org/community/htacg/ |title=HTML Tidy Advocacy Community Group |publisher=W3.org |date= |accessdate=2015-04-25}}</ref>

Revision as of 16:08, 15 October 2015

HTML Tidy
Original author(s)Dave Raggett
Developer(s)HTML Tidy Advocacy Community Group
Repository
Written inC (programming language)[1]
Operating systemBSD, Linux, Mac OS, 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 [3] of World Wide Web Consortium (W3C), then released as a SourceForge[4] project in 2003 and managed by various maintainers.

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

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

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 only as source code, cloned from its GitHub git version control 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

See also

References

  1. ^ "Repository". Github.org. Retrieved 2015-04-25.
  2. ^ "Repository". Github.org. Retrieved 2015-04-25.
  3. ^ Raggett, Dave. "Clean up your Web pages with HTML TIDY". W3C.org. Retrieved 2015-02-12. (Dave Raggett's legacy HTML Tidy page.)
  4. ^ "SourceForge.net Repository - [tidy] Index of /". Tidy.cvs.sourceforge.net. Retrieved 2015-04-25.
  5. ^ tidy-html5 on GitHub
  6. ^ Smith, Michael. "Michael[tm] Smith". W3C.org. Retrieved 2015-02-12.
  7. ^ "HTACG". HTACG.org. Retrieved 2015-04-25.
  8. ^ Jim Derry. "HTML Tidy Advocacy Community Group". W3.org. Retrieved 2015-04-25.