The tutorials found herein have been written for clarification of existing W3C HTML 5 and HTML 4.01 (and, by extension, xHTML 1.0 as text/html) specifications through the use of real-world examples.

Some section names have been taken from HTML 5; some remain HTML 4.01. Text-Level Elements in HTML 4.01 - have become Text-Level Semantics in HTML 5 but some were reclassified as Grouping or Phrasing Content; List elements are Grouping Content but shown here as “Lists”.
http-equiv
The http-equiv or, HyperText Transfer Protocol Equivalent, attribute becomes an implementation- specific directive—when used with the meta element—for HTTP servers to gather information that may be used for expected rendering of the document, i.e., web page. It may be found assigned with the meta element.
http-equiv
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset="utf-8" />
The document has stated
<meta http-equiv="Content-Type" content="text/html; charset="Shift_JIS">
However, the server has a Character Encoding setting of
<charset="utf-8">
which means that the server setting has precedence over and ignores the document directive. It will render the page with utf-8.
Character Encoding mismatch!
The character encoding specified in the HTTP header
(utf-8)
is different from the value in the <meta> element
(shift_jis). I will use the
value from the HTTP header
(utf-8) for this
validation.
The Elementary Standards: A Compendium of articles, tutorials and reference material regarding Web Standards, HTML and CSS Copyright ©2005-2010. All work is published by Sean Fraser under a Creative Commons License. All Rights Reserved.