schemaorg-coda :: Example

eg-0003

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "Painting",
  "name": "The Madonna with the Long Neck",
  "genre": "http://vocab.getty.edu/aat/300021143"
}

RDFa

<div vocab="https://schema.org/" typeof="Painting">
  <h1><span property="name">The Madonna with the Long Neck</span></h1>
  <span property="genre" content="http://vocab.getty.edu/aat/300021143">Late Renaissance</span> painting by
  <span property="creator">Parmigianino</span>.
</div>

Microdata

<div itemscope itemtype="https://schema.org/Painting">
  <h1><span itemprop="name">The Madonna with the Long Neck</span></h1>
  <meta itemprop="genre" content="http://vocab.getty.edu/aat/300021143"/>Late Renaissance painting by
  <span itemprop="creator">Parmigianino</span>.
</div>

Pre-Markup

<h1>The Madonna with the Long Neck</h1>
Late Renaissance painting by Parmigianino