Mobile app version of vmapp.org
Login or Join
Holmes151

: Can Schema.org properties be included in existing tags? The Microdata examples on Schema.org seem to indicate adding addition tagging to indicate item properties is the norm. However, can these

@Holmes151

Posted in: #Html5 #Microdata #SchemaOrg #Seo

The Microdata examples on Schema.org seem to indicate adding addition tagging to indicate item properties is the norm. However, can these be added with an existing tag? For instance in the following line of code:

<span itemprop="price" id="product_price" style="white-space: nowrap;">


Would the search engines supporting Schema.org detect this property?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Holmes151

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nickens628

Yes, that is the way they are implemented. You can use them as an attribute to a tag.

I just took the logical div and span tags that already existed in the template and added the needed attributes. Something along the line of:

<div class="product-block" itemscope itemtype="http://schema.org/Product">
<img src="http://media.example.com/image/PartImg.jpg" alt="*" title="*" itemprop="image" />
<h2 class="product-name" itemprop="name">Part Name Here</h2>
<p itemprop="manufacturer">Part Mfg.</p>
<meta itemprop="productID" content="sku:PartNo" />
<meta itemprop="url" content="http://www.example.com/part-page.html" />
<div class="product-specs" itemprop="description">
<p>Paragraph of description here</p>
</div>
</div>


The only additions were the meta tags. Where the SKU displays is outside of this block and adding a self referential canonical link would only confuse the customer.

When I run them through Google's rich snippet/microformat/microdata check, it pulls up all the relevent items properly identified. www.google.com/webmasters/tools/richsnippets

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme