Not Appropriate Usage Examples

From getSchema

Revision as of 11:19, 7 December 2012 by Admin66 (Talk | contribs)
(diff) ? Older revision | Latest revision (diff) | Newer revision ? (diff)

Jump to: navigation, search

This Page Semantic Annotations

Property genre is Text intended and not URL

As seen on IMDB 13:16, 15 August 2012 (CEST)

genre is a property defined by CreativeWork class and its expected type is Text. The HTML5 Microdata specification describes the a.

If the element is an a, area, or link element
The attribute must act as it would if it was reflecting the element’s href content attribute. [1]

<a itemprop="genre" href="/genre/Action">Action</a>

According with the recommendation the RDF representation of the above markup is

 :_ schema:genre <>.

while the intended meaning is

 :_ schema:genre "Action".

Therefore we recommend the below markup:

<a href="/genre/Action">    <span itemprop="genre">Action</span> </a>

Personal tools