W3C Markup Validation Service

W3C Markup Validation Service

The Markup Validation Service by the World Wide Web Consortium (W3C) allows Internet users to check HTML documents for conformance to HTML or XHTML standards. It also provides a quick method for web page authors to check their posted pages for mark-up errors.Castro, Elisabeth: "HTML, XHTML & CSS, Sixth Edition", page 345-346. Visual Quickstart Guides, Peachpit Press, 2007. ISBN 0-321-43084-0]

History

The Markup Validation Service began as "The Kinder, Gentler HTML Validator", a project by Gerald Oskoboiny.cite web |url=http://validator.w3.org/about.html |title=About the W3C Markup Validation Service |accessdate=2008-06-28 |work=W3C Markup Validation Service |publisher=World Wide Web Consortium ] 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.cite mailing list|url=http://lists.w3.org/Archives/Public/www-html/1994Jul/0015|title=ANNOUNCE: HaL Interactive HTML Validation Service|date=1994-07-13|accessdate=2008-06-28|mailinglist=www-html|last= Connolly|first=Dan]

In September 1997, Oskoboiny began working for the W3C, and on December 18, 1997, the W3C announced its "W3C HTML Validator" based upon his work.cite web |url=http://impressive.net/people/gerald/1996/ugweb/validate/changes.html |title=History of the Kinder, Gentler HTML Validator |accessdate=2008-06-28 |first=Gerald |last=Oskoboiny |date=2003-03-22]

Method of operation

HTML validators operate by comparing the mark-up on a web page to the W3C standards. The standards vary depending upon the declared version and so the validator will start by reading the DOCTYPE declaration to see which set of standards to apply.

Once the validator has read the page and determined the applicable standards it looks for such things as missing opening or closing tags, missing quotation marks and other hand-coding errors.

The validator then provides a report indicating that the coding is correct or not. Errors are noted in a list. One error, such as neglecting to close a tag, can cause a cascade of errors through the page, producing dozens or even hundreds of noted errors. However when the page author addresses the first error listed it will also eliminate the "cascade errors".

Browser accomomdation

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

W3C also offers validation tools for web technologies other than HTML/XHTML, such as MathML or CSS.

Validator criticism

All mark-up validators suffer from an inability to see the "big picture" on a web page. However they excel at picking up missed closing tags and other technicalities. This does not mean that the page will display as the author intended in all browsers. Even if validated, all web pages should be tested in as many different browsers as possible to ensure that the limitations of the validator are compensated for and that the page works correctly.

CSS validation

While the W3C and other HTML and XHTML validators will assess pages coded in those formats, a separate validator is needed to confirm that there are no errors in the associated Cascading Style Sheet. CSS validators work in a similar manner to HTML and XHTML validators in that they apply current CSS standards to referenced CSS documents.

List of markup validation for common websites

ee also

* HTML Tidy, an offline markup validation program developed by Dave Raggett of W3C

References

External links

* [http://validator.w3.org/ The W3C Markup Validation Service]
* [http://jigsaw.w3.org/css-validator/ The W3C CSS validation Service]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Extensible Hypertext Markup Language — Vorlage:Infobox Dateiformat/Wartung/MagischeZahl fehltVorlage:Infobox Dateiformat/Wartung/Website fehlt XHTML Vorlage:Infobox Dateiformat/Wartung/Screenshot …   Deutsch Wikipedia

  • Wireless Markup Language — (which are gaining in popularity as processing power in mobile devices increases). WML historyBuilding on Openwave s HDML, Nokia s Tagged Text Markup Language (TTML) and Ericsson s proprietary markup language for mobile content, the WAP Forum… …   Wikipedia

  • W3C — XHTML Каскадные таблицы стилей (CSS) Кодировки символов Сравнение движков отображения Семейство шрифтов Редактор HTML Элементы HTML Мнемоники в HTML Скрипты в HTML Юникод и HTML Цвета в Web (Web colors) WWW Консорциум (W3C) Консорциум Всемирной… …   Википедия

  • HyperText Markup Language — L’Hypertext Markup Language, généralement abrégé HTML, est le format de données conçu pour représenter les pages web. C’est un langage de balisage qui permet d’écrire de l’hypertexte, d’où son nom. HTML permet également de structurer… …   Wikipédia en Français

  • Hypertext markup language — L’Hypertext Markup Language, généralement abrégé HTML, est le format de données conçu pour représenter les pages web. C’est un langage de balisage qui permet d’écrire de l’hypertexte, d’où son nom. HTML permet également de structurer… …   Wikipédia en Français

  • Hypertext Markup Language — L’Hypertext Markup Language, généralement abrégé HTML, est le format de données conçu pour représenter les pages web. C’est un langage de balisage qui permet d’écrire de l’hypertexte, d’où son nom. HTML permet également de structurer… …   Wikipédia en Français

  • Speech Synthesis Markup Language — (SSML) (Язык Разметки Синтеза Речи) представляет собой основанный на XML язык разметки для приложений синтеза речи[1]. Он был рекомендован рабочей группой W3C[2]. SSML часто встраивается в сценарии VoiceXML для интерактивных систем телефонии[3].… …   Википедия

  • Рекомендации W3C — Рекомендации W3C  это заключительный этап ратификации процесса рассмотрения вопросов стандартов рабочей группой Консорциума Всемирной паутины (W3C). Эта ратификация означает, что документ был подвергнут общественному рассмотрению и обзору… …   Википедия

  • Service de validation du W3C — World Wide Web Consortium  Ne doit pas être confondu avec WC3 (formation musicale). World Wide Web Consortium Création octobre 1994 …   Wikipédia en Français

  • Service de validation du w3c — World Wide Web Consortium  Ne doit pas être confondu avec WC3 (formation musicale). World Wide Web Consortium Création octobre 1994 …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”