eg-0187
From
v29.4
JSON-LD
{
"@context": "https://schema.org",
"@type": "Movie",
"name": "Footloose",
"potentialAction" : {
"@type": "WatchAction",
"target" : "http://example.com/player?id=123"
}
}RDFa
<div vocab="https://schema.org/" typeof="Movie">
<meta property="name" content="Footloose">
<div property="potentialAction" typeof="WatchAction">
<a property="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
</div>
</div>Microdata
<div itemscope itemtype="https://schema.org/Movie">
<meta itemprop="name" content="Footloose">
<div itemprop="potentialAction" itemscope itemtype="https://schema.org/WatchAction">
<a itemprop="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
</div>
</div>Pre-Markup
<!-- A Movie named "Footloose" with a WatchAction as a potentialAction, with a target of http://example.com/player?id=123. --> <div> <a href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a> </div>