Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Documents with <a href="http://www.HTML-5.com/" rel="noreferrer">HTML 5</a> plus Microdata used to validate successfully but because of <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14020" rel="noreferrer">Bug #14020</a> the validator has become more strict on declaring documents as "valid". Your document is valid HTML 5 + Microdata, but is not strictly an HTML 5-only document.</p> <p>You can use <a href="http://Validator.nu/" rel="noreferrer">http://Validator.nu/</a> to validate HTML 5 + Microdata.</p> <p>The site linked to in Fabian's answer is <em>not</em> the <em>W3C</em> site he mentions, so I wouldn't trust that as much for HTML 5 as I might have for earlier (pre-2000) <a href="http://www.HTML-5.com/html-versions-and-history.html#html-versions" rel="noreferrer">versions of HTML</a>.</p> <p>The reason you had to change itemscope to itemscope="itemscope" is that previous browsers and specifications have defined incompatible interpretations (sometimes true, sometimes false) of code such as itemscope (no value), itemscope="" (an empty string is interpreted as false by XPath) and itemscope="false" (any non-empty string sometimes interpreted as true). Thus the statement in the spec that "The values 'true' and 'false' are not allowed on boolean attributes." However, "true" and "false" <em>can</em> appear in certain attribute values because they <em>are</em> allowed on enumerated attributes such as <a href="http://www.HTML-5.com/attributes/draggable-attribute.html" rel="noreferrer">draggable</a>. See bullet #4 regarding <a href="http://www.HTML-5.com/tutorials/converting-to-html-5.html" rel="noreferrer">coding boolean values</a>.</p> <p>The workarounds (elsewhere) to insert invalid code with scripting may hide that code from the validator, but it won't create a document that is any more valid than using static HTML code because the HTML 5 specification is defined in terms of the internal document model, not the external representation. See <a href="http://www.HTML-5.com/changes/#changes" rel="noreferrer">HTML 5 Specifications focus on the DOM</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload