Question

Are you supposed to markup the home and current page for the breadcrumb? I am using data-vocabulary only because schema.org doesn't allow titles or urls to be marked up - only a line of text without dividers unless added manually.

Here is an example of what I have now. Notice that I marked up both the home and current page - is this correct or should one or both not be marked up?

<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a class="home" itemprop="url" href="/"><span itemprop="title"><img alt="Home" height="30" src="/images/trans.gif" width="16"></span></a></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/services/"><span itemprop="title">Services</a></span></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/service/widget/"><span itemprop="title">Widget</a></span></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/service/widget/features.htm"><span itemprop="title">Features</span></a></li>
Was it helpful?

Solution

I have tested the following that appears to work, I think you just had a couple of the ending </span></a> tags the wrong way around.

<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a class="home" itemprop="url" href="/"><span itemprop="title"><img alt="Home" height="30" src="/images/trans.gif" width="16"></span></a></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/services/"><span itemprop="title">Services</span></a></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/service/widget/"><span itemprop="title">Widget</span></a></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="/service/widget/features.htm"><span itemprop="title">Features</span></a></li>

You have probably already read it but you can read more on Breadcrumbs here: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=185417 the "Microdata" link has a good example.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top