schemaorg-coda :: Example

eg-0431

From v29.4

JSON-LD

{
	"@context": "https://schema.org",
	"@type": "TouristAttraction",
	"name": "Hyde Park",
	"description": "It's one of nine royal parks of London.",
	"url": "http://www.royalparks.org.uk/parks/hyde-park",
	"isAccessibleForFree": true
}

RDFa

<div vocab="https://schema.org/" typeof="TouristAttraction">
	<h1><span property="name">Hyde Park</span></h1>
	<div>
		<span property="description">It's one of nine royal parks of London.</span>
	</div>
	<div>Website:
		<a href="http://www.royalparks.org.uk/parks/hyde-park" property="url">www.royalparks.org.uk/parks/hyde-park</a>
	</div>
	<div>
		<meta property="isAccessibleForFree" content="true"/>Ticket: access for free.
	</div>
</div>

Microdata

<div itemscope itemtype="https://schema.org/TouristAttraction">
	<h1><span itemprop="name">Hyde Park</span></h1>
	<div>
		<span itemprop="description">It's one of nine royal parks of London.</span>
	</div>
	<div>Website:
		<a href="http://www.royalparks.org.uk/parks/hyde-park" itemprop="url">www.royalparks.org.uk/parks/hyde-park</a>
	</div>
	<div>
		<meta itemprop="isAccessibleForFree" content="true"/>Ticket: access for free.
	</div>
</div>

Pre-Markup

<h1>Hyde Park</h1>
<div>It's one of the nine royal parks of London.</div>
<div>Website:
	<a href="http://www.royalparks.org.uk/parks/hyde-park">www.royalparks.org.uk/parks/hyde-park</a>
</div>
<div>Ticket: access for free.</div>