Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

W3C Markup Validation Service

From Wikipedia, the free encyclopedia
Validator service by the World Wide Web Consortium
Tag certifying that a website has been checked for well-formed XHTML (above) and CSS (below) markup

TheMarkup Validation Service is avalidator by the World Wide Web Consortium (W3C) that allowsInternet users to check pre-HTML5HTML andXHTML documents forwell-formed markup against adocument type definition (DTD). Markup validation is an important step towards ensuring the technical quality of web pages. However, it is not a complete measure of web standards conformance.[1] Though W3C validation is important for browser compatibility and site usability, it has not been confirmed what effect it has onsearch engine optimization.

AsHTML5 has removed the use of DTD in favor of a "Living Standard", the traditional Markup Validation Service is not applicable to these formats. Validation is instead performed using an open-source "Nu Validator", an instance of which is provided by W3C.[2]

History

[edit]

The Markup Validation Service began asThe Kinder, Gentler HTML Validator, a project by Gerald Oskoboiny.[1] It was developed to be a more intuitive version of the first online HTML validator written by Dan Connolly and Mark Gaither, which was announced on July 13, 1994.[3]

In September 1997, Oskoboiny began working for the W3C, and on December 18, 1997, the W3C announced itsW3C HTML Validator based upon his works.[4] In November 2008, the W3C released the validator.nu HTML5 engine and the ability to check documents for conformance to HTML5.[5]

W3C also offers validation tools for web technologies other than HTML/XHTML, such asCSS,XML schemas, andMathML.[6]

Browser accommodation

[edit]

Many majorweb browsers are often tolerant of certain types of error, and may display a document successfully even if it is not syntactically correct. Certain otherXML documents can also be validated if they refer to an internal or externalDTD.

Limitations

[edit]

Mark-up validators cannot see the "big picture" on a web page,[clarification needed] but they excel at picking up missed closing tags and other technicalities.[6][7]

DTD-based validators are also limited in their ability to check attribute values according to many specification documents. For example, using an HTML 4.01 DOCTYPE,bgcolor="fffff" is accepted as valid for the "body" element even though the value "fffff" is missing a preceding '#' character and contains only five (instead of six) hexadecimal digits. Also, for the "img" element, width="really wide" is also accepted as valid. DTD-based validators are technically not able to test for these types of attribute value problems.

Pages may not display as intended in all browsers, even in the absence of validation errors and successful display in other browsers. The only way to ensure that pages always display as intended is to test them in all browsers expected to render them correctly.[7]

CSS validation

[edit]

While the W3C and other HTML and XHTML validators will assess pages coded in those formats, a separate validator like the W3C CSS validator can check that there are no errors in the associatedCascading Style Sheet. CSS validators apply current CSS standards to referenced CSS documents.[7]

See also

[edit]

References

[edit]
  1. ^ab"About the W3C Markup Validation Service".W3C Markup Validation Service. World Wide Web Consortium. Retrieved2011-05-20.
  2. ^"Ready to check - Nu Html Checker".validator.w3.org.
  3. ^Connolly, Dan (1994-07-13)."ANNOUNCE: HaL Interactive HTML Validation Service".www-html (Mailing list). Retrieved2008-06-28.
  4. ^Oskoboiny, Gerald (2003-03-22)."History of the Kinder, Gentler HTML Validator". Retrieved2008-06-28.
  5. ^"What's New at The W3C Markup Validation Service".validator.w3.org. Retrieved2016-05-31.
  6. ^ab"About the CSS Validator". World Wide Web Consortium. Retrieved2012-06-24.
  7. ^abcCastro, Elisabeth:HTML, XHTML & CSS, Sixth Edition, page 345–346. Visual Quickstart Guides, Peachpit Press, 2007.ISBN 0-321-43084-0

External links

[edit]
Wikimedia Commons has media related toW3C validation.
Products,
standards
Recommendations
Notes
Working drafts
Guidelines
Initiative
Deprecated
Obsoleted
Groups,
organizations
Elected
Working
Community, business
Closed
Software
Browsers
Conferences
Retrieved from "https://en.wikipedia.org/w/index.php?title=W3C_Markup_Validation_Service&oldid=1304783129"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp