html5 - Insert price currency microdata (schema.org) into a html table -


i have following piece of code:

<tr><th>availability:</th>   <td><link itemprop="availability" href="http://schema.org/instock"/>available</td></tr> <tr><th>price:</th>   <td itemprop="price">$137</td></tr> <meta itemprop="pricecurrency" content="usd" /> </tbody> 

unfortunately, doesn't validate: start tag meta seen in table.

how can insert price currency , have validation correct?

you put meta element in td , move price property span (otherwise price value include string "usd").

<tr>   <th>price:</th>   <td>     <span itemprop="price">137</span>     <meta itemprop="pricecurrency" content="usd" />   </td> </tr> 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -