schemaorg-coda :: Example

eg-0020

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "CreativeWork",
  "author": "Sony",
  "contentRating": "Mature",
  "image": "videogame.jpg",
  "name": "Resistance 3: Fall of Man"
}

RDFa

<div vocab="https://schema.org/" typeof="CreativeWork">
<img property="image" alt="Fall of Man cover art"
src="videogame.jpg" />
<span property="name">Resistance 3: Fall of Man</span>
by <span property="author">Sony</span>,
Platform: Playstation 3
Rated:<span property="contentRating">Mature</span>
</div>

Microdata

<div itemscope itemtype="https://schema.org/CreativeWork">
<img itemprop="image" alt="Fall of Man cover art"
src="videogame.jpg" />
<span itemprop="name">Resistance 3: Fall of Man</span>
by <span itemprop="author">Sony</span>,
Platform: Playstation 3
Rated:<span itemprop="contentRating">Mature</span>
</div>

Pre-Markup

<div>
Resistance 3: Fall of Man
by Sony
Platform: Playstation 3
Rated: Mature
<img alt="Fall of Man cover art" src="videogame.jpg" />
</div>