Re: [VE][html5] The itemprop attribute was specified, but the element is not a property of any item

"Jukka K. Korpela" <[email protected]>
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
2014-09-04 10:43, Sanjeev Verma wrote:

> While validating our website http://14.141.108.213:93/ we received error
> “The itemprop attribute was specified, but the element is not a property
> of any item”

The experimental HTML5 validator checks against a vaguely defined 
collection of drafts and notes, apparently including “HTML Microdata”,
which defines the itemprop attribute (which is not present at all in W3C 
HTML5 CR). It defines the attribute so that it is allowed on any element 
“if doing so adds one or more properties to one or more items”, with 
“items” as a link to a desciption of the itemscope attribute.
Ref.: http://www.w3.org/TR/microdata/#names:-the-itemprop-attribute

Thus, itemprop is allowed only if an ancestor element has the itemscope 
attribute. In your case, the simplest fix is to add that attribute to 
the parent of your meta elements, the head element:

<head id="header1" itemscope>

Yucca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.