Using HTML5+Microdata's <meta> tag in the <body>

html, meta, microdata, schema.org

Solution

The `meta` tag can't be used with an itemscope like that. The correct way to express this is through a canonical reference using the `link` tag:

<div itemscope itemtype="http://schema.org/Product">
  <h2 itemprop="name">Product Name</h2>
  <dl itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <dt itemprop="price">$1</dt>
    <link itemprop="availability" href="http://schema.org/InStock">
  </dl>
</div>

Problem

I want to specify if the Product is "In Stock" using HTML5+Microdata's `<meta>` tag using Schema.org. I am unsure if this is the correct syntax: ``` <div itemscope itemtype="http://schema.org/Product"> <h2 itemprop="name">Product Name</h2> <dl itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <dt itemprop="price">$1</dt> <meta itemprop="availability" itemscope itemtype="http://schema.org/ItemAvailability" itemid="http://schema.org/InStock"> </dl> </div> ```

Original source

Related problems