Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Does it matter whether my microdata breadcrumb trail starts and ends with <div>, <span> or <li>? Consider <div> tag first:

<div><span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  <a href="http://www.example.com/dresses" itemprop="url">
    <span itemprop="title">Dresses</span>
  </a></span> » 
</div> 

And now what if I replace it with <li> or <span> tags? What difference it would make?

I saw this <li> in website's breadcrumbs and it displayed without showing bullet points.

UPDATE: Look what I just found:

<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/" itemprop="url">
<span itemprop="title">Dresses</span>
</a>
</span> >> 
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<span a href="http://www.example.com/" itemprop="url"></span>
<span itemprop="title">Last Page**</span>
</a>
</span>

Normally last page is not displayed in search results unless it has URL propery. However I was able to make it display in a non-hyperlinked way in green. How is that looked upon by Google?

share|improve this question
1  
Shame you didn't mention <nav> with <ul> because that's more relevant than all of the ones mentioned ;) I recommend you research about span, p, a, div, section, main, nav, ul and so on. –  bybe Mar 28 at 18:32
    
Is it same as SPAN and DIV when it comes to breadcrumbs or it boosts your rankings too? ;) –  Boris_yo Mar 28 at 18:36
    
Span, DIV has nothing to do with rankings... Also microdata does not directly improve rankings. –  bybe Mar 28 at 18:37
    
That's a whole different question, and since you're using breadcrumbs, what is the point of having that without the url property? –  guisasso Mar 28 at 18:41
    
@guisasso Seems there is no point of having trail without URL but I just discovered how you can still have it without URL. –  Boris_yo Mar 28 at 18:43

1 Answer 1

If the code is validated, no.

The following is:

<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/" itemprop="url">
         <span itemprop="title">Dresses</span>
    </a>
</div>

Gets validated with any of those tags (<span>, <li>, <div>) and many more.

Try it out at http://www.google.com/webmasters/tools/richsnippets.

P.S.: Your first <div> tag is closed on your example, which makes it not functional.

share|improve this answer

Your Answer

 
discard

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.