Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The Microdata examples on 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 detect this property?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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="">
    <img src="" 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="" />
    <div class="product-specs" itemprop="description">
        <p>Paragraph of description here</p>

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.

share|improve this answer
Excellent! Many thanks, I thought it wasn't working because the richsnippets tool did not detect some of my properties. Based on this I found out I closed to 'offers' div too early :) – ToothlessRebel Dec 20 '11 at 20:38
Actually, that wasn't it. – ToothlessRebel Dec 20 '11 at 20:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.