Consider this HTML:
<header>
<div id="logo" itemscope itemtype="http://schema.org/Organization">
<a itemprop="url" href="//www.seashellswebsite.co.uk/">
<img itemprop="logo" src="logo.gif" alt="Seaside Shells" title="Seaside Shells">
</a>
<meta itemprop="name" content="Seaside Shells">
<meta itemprop="legalName" content="Seaside Shells Ltd">
<meta itemscope itemprop="address" itemtype="http://schema.org/PostalAddress" itemref="schemaOrganizationAddress">
<meta itemprop="description" content="We sell sea shells on the sea shore. The sea shells we sell are unfortunately rather overpriced.">
</div>
</header>
<h1>Super Interesting Page</h1>
<p>Foo bar.</p>
<footer>
<span id="schemaOrganizationAddress">
<span itemprop="streetAddress">1 Seafront Road</span>,
<span itemprop="addressLocality">Fishing Town</span>,
<span itemprop="addressRegion">Coastal County</span>,
<span itemprop="postalCode">12345</span>
</span>
</footer>
The W3C Validator complains thus:
Element
meta
is missing required attributecontent
.
… and refers to this line:
<meta itemscope itemprop="address" itemtype="http://schema.org/PostalAddress" itemref="schemaOrganizationAddress">
But what should the content
attribute be here, given that the itemref
attribute indicates that the content resides in another element outside the current scope? Surely the content
attribute is surplus to requirement in this instance?