HTML Tidy

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
HTML Tidy
Original authorDave Raggett
DeveloperHTML Tidy Advocacy Community Group
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating system{{#statements:operating system}}
    TypeLibrary, Console Application
    License{{#statements:copyright license}}

    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.

    History

    [edit | edit source]

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

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

    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.

    Features

    [edit | edit source]

    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

    [edit | edit source]

    Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). (Dave Raggett's legacy HTML Tidy page.)
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ tidy-html5 on GitHub
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]