I've a problem with validation of the code provided by Google. Idea is (simplified):
<head itemscope itemtype="http://schema.org/WebSite">
<title itemprop="name">Example.com - Best Website in the World</title>
<meta name="description" content="Blah Blah Blah" itemprop="description">
<link rel="canonical" href="https://example.com/" itemprop="url">
</head>
Inspired by Google documentation (see markup example).
The main problem is that the code above isn't valid:
Attribute
itempropnot allowed on elementmetaat this point.
Attributeitempropnot allowed on elementlinkat this point.
But if I remove itemprop, Google Structure Tool no longer recognizes the url and description as properties.
Please tell me why is that, I mean why does Google provide non-valid code and how can I solve this?
prefix). – unor Mar 11 '17 at 01:12