Mobile app version of vmapp.org
Login or Join
Fox8124981

: Microformats don't require an exact piece of HTML, they are parsing the overall structure, using the class names. Hence, you can use <div class="item"> or <span class="item"> or <h2

@Fox8124981

Microformats don't require an exact piece of HTML, they are parsing the overall structure, using the class names.

Hence, you can use <div class="item"> or <span class="item"> or <h2 class="item">, and all will identify the name of the item.

If you have extraneous items around it, as long as they don't conflict with the item names, you are fine. For example, you couldn't do something like

<div class="item">
<div class="rating">5</div>
</div>


as it wouldn't be clear whether the '5' referred to the item or the rating.

But you could have:

<div class="rating-wrapper">
<div class="rating">5</div>
</div>


because Google doesn't understand rating-wrapper and so ignores it.

Hence, you will see people mark up their HTML differently, but using the same class names. If Google is telling you it understands your HTML, then it almost certainly is.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme