Can you have multiple itemprop=description on a page?

后端 未结 2 1768
长发绾君心
长发绾君心 2020-12-06 15:43

I can\'t seem to find the answer for this anywhere.

I\'ve got itemscope itemtype=\"http://data-vocabulary.org/Review\" on the body tag.

Now the

相关标签:
2条回答
  • 2020-12-06 15:53

    you want itemprop="description" on multiple div elements here you can see itemprop="name" on multiple span elements for example, so it might be ok

    0 讨论(0)
  • 2020-12-06 15:58

    Well, you are adding several descriptions for the same item. That’s fine from the Microdata perspective.

    Microdata only defines that an item’s properties with the same name are ordered (see the examples), while different properties are "unordered with respect to each other".

    Microdata does not define if this should mean that all these descriptions should be consolidated into one description (your use case), or if these are alternative descriptions (for example one could offer descriptions in several languages).

    But how consumers (like Google) interpret this, that is up to them; it might be unknown/undocumented; it might change daily. Discussion about this is probably off-topic on SO; it might better fit on Webmasters SE.

    0 讨论(0)
提交回复
热议问题