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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -