Abstract
The various computer languages used on the Web, including but not limited to (X)HTML, CSS, RDF, and RSS, provide structure, style, metadata, semantics, and other document features. Similar to natural languages, they have their own grammar, vocabulary, and syntax that need to be followed. However, just like the grammar, structural, or spelling errors that occur in documents written in natural languages, web documents might also have errors in them. Validation is the task of checking the source code of web documents against a DTD or schema. It contributes to error-free, clean code and increases overall web page quality.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Even if there are tools that represent the hierarchy with vertical dotted lines between the opening and closing tag pairs (e.g., Notepad++).
- 2.
The RDFa notation can be perfectly validated in XHTML documents. As of 2011, the Validator still does not recognize RDFa in HTML5, however, and gives errors.
- 3.
The XML declaration and all namespace declarations provided in XHTML5 result in an error message, even if they are valid. Moreover, the validation result of XHTML5 documents states HTML5 instead of XHTML5.
- 4.
Relative to the Ant build file.
- 5.
content:encoded only
- 6.
Naturally, you can select the profile “CSS level 3” from the drop-down list under “More Options.” However, you need to construct a URI manually if you want to provide a validation link for your CSS3 button, because the default code assumes CSS 2.1.
- 7.
The basic tool is Java based and requires Java 1.5 or later.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Leslie F. Sikos, Ph.D.
About this chapter
Cite this chapter
Sikos, L.F. (2014). Validation. In: Web Standards. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0883-0_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0883-0_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0884-7
Online ISBN: 978-1-4842-0883-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books