Documents with HTML 5 plus Microdata used for confirmation successfully, but due to Error No. 14020, the validator has become more stringent, declaring the documents "valid". Your document is valid HTML 5 + Microdata, but is not strictly an HTML 5 document.
You can use http://Validator.nu/ to test HTML 5 + Microdata.
The site associated with Fabian's answer is not the W3C site that it mentions, so I would not trust that there is as much for HTML 5 as I could have for the earlier (before 2000) version of HTML .
The reason you had to change itemscope to itemscope = "itemscope" is because previous browsers and specifications defined incompatible interpretations (sometimes true, sometimes false) of code, such as itemscope (no value), itemscope = "(empty string interpreted as false XPath) and itemscope = "false" (any non-empty string is sometimes interpreted as true). Thus, the statement in the specification that "Values" true "and" false "are not allowed by logical attributes." However, "true "and" false "may appear in certain attribute values because They are allowed for enumerated attributes, such as draggable . See Bullet # 4 for coding booleans .
Workarounds (in another place) for inserting the wrong code with the script may hide this code from checking, but it will not create a document that is more believable than using static HTML code, since the HTML 5 specification is defined in terms of the internal model of the document, and not an external representation. See HTML 5 Specifications focus on the DOM .
Rob at TVSeries.com
source share