Can you have multiple itemprop=description on a page?

不问归期 提交于 2019-11-28 00:33:37
unor

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!