我想在另一个div中链接相同的Microdata域,这就是我所拥有的:
<div id="colleau" itemscope itemtype="http://schema.org/Organization">
<!-- Here i got name, foundingDate, founders, etc... -->
</div>
但我有一个电话号码和地址在另一个div中而且它没有链接:
<div itemscope itemtype="http://schema.org/Organization" itemref="colleau">
<!-- Phone, adress here -->
</div>
我该怎么做?
答案 0 :(得分:1)
只有一个div
获得itemscope itemtype="http://schema.org/Organization"
+ itemref
。另一个div
仅获取id
。
<div itemref="colleau" itemscope itemtype="http://schema.org/Organization">
</div>
<div id="colleau">
<!-- 'itemprop' in here will be added to the Organization -->
</div>