About The W3C Markup Validation Service
Table of contents
About this service
The Markup Validator is a free service by W3C that helps check the validity of Web documents.
Most Web documents are written using markup languages, such as HTML or XHTML. These languages are defined by technical specifications, which usually include a machine-readable formal grammar (and vocabulary). The act of checking a document against these constraints is called validation, and this is what the Markup Validator does.
Validating Web documents is an important step which can dramatically help improving and ensuring their quality, and it can save a lot of time and money (read more on why validating matters). Validation is, however, neither a full quality check, nor is it strictly equivalent to checking for conformance to the specification.
This validator can process documents written in most markup languages. Supported document types include the HTML (through HTML 4.01) and XHTML (1.0 and 1.1) family, MathML, SMIL and SVG (1.0 and 1.1, including the mobile profiles). The Markup Validator can also validate Web documents written with an SGML or XML DTD, provided they use a proper document type declaration.
Related resources include:
- The Documentation for the Markup validation contains a lot of information on usage, installation, and development. Notably, the Help and FAQ document contains a lot of information, and is a recommended reading.
- The Source code availability information page .
- The TODO list for The W3C Markup Validation Service.
- How to provide feedback on The W3C Markup Validation Service.
Other resources
Documentation & Specifications
Online Tools & Other Validators
- The WDG HTML validator is another excellent online validation service.
- A Real Validator is a shareware HTML syntax checker for Windows systems, from the author of the WDG validator.
- Site Valet by Nick Kew is a comprehensive set of Quality Assurance tools for checking and monitoring your web sites.
- Clean up your HTML using HTML tidy
- Validate your CSS using the W3C CSS Validation Service.
- Validate your RDF using the W3C RDF Validation Service.
- Validate your XML Schema documents using the W3C XML Schema Validator.
The W3C also hosts a number of other Open Source software projects.
Credits
The first online HTML validation service was created by Dan Connolly and Mark Gaither.
The W3C Markup Validation Service was created and maintained by Gerald Oskoboiny. In a previous incarnation it was known as "The Kinder, Gentler, HTML Validator" ("Kinder, Gentler" than Dan and Mark's original), but has since found a new home at W3C, and is now maintained under the auspices of the Quality Assurance Activity.
This service uses:
- A derivative version of James Clark's excellent SGML (and XML) parser SP. The version in use for this service is the "OpenSP" version from the OpenJade team. For some time it also made use of Liam Quinn's modified version, lq-nsgmls.
- The LWP Perl Modules by Gisle Aas and Martijn Koster for retrieving documents.
- Documentation and Error Explanations originally written by Scott Bigham.
- Open source software including Apache, Perl, and Debian GNU/Linux.
- Patches and ideas from: