Microdata for a product
Structured data inside the visible HTML.
HTML · Microdata for a productAdvanced
<div itemscope itemtype="https://schema.org/Product">
<h2 itemprop="name">Notebook</h2>
<img itemprop="image" src="nb.jpg" alt="Notebook" width="300" height="300">
<div itemprop="offers" itemscope itemtype="https://schema.org/Offer">
<span itemprop="priceCurrency" content="USD">$</span><span itemprop="price" content="9.99">9.99</span>
<link itemprop="availability" href="https://schema.org/InStock">In stock
</div>
</div>itemscopeitempropproductschema.org