用于组织的微数据

时间:2015-07-09 14:58:39

标签: html html5 schema

我正在尝试为网站做正确的mikrodaty布局。我了解如何采取行动。例如,我转到https://schema.org/Organization并查看列表底部。选择每个标签(名称,地址,街道地址等)。如果可能的话,我需要填写所有标签,我是对的吗?现在我得到了这样的东西:

    <div itemscope itemtype="http://schema.org/Organization">
 <div class="historyb" id="historyb">
    <span class="historyh2" itemprop="name">MyName</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
    <span itemprop="streetAddress">
      Street & number of house
    </span>
    <span itemprop="addressLocality">City</span>,
    <span itemprop="postalCode">111111</span>
</div>
  <a href="mailto:MyEmail@gmail.com" itemprop="email">
    MyEmail@gmail.com
   </a>
   <span itemprop="foundingDate">Date</span>
   <span itemprop="foundingLocation">City</span>
   <span itemprop="legalName">Full Name</span>
     <a itemprop="url" href="#"><img itemprop="logo" src="http://www.mysite.ru/images/logo.png" /></a>
  </div>

1 个答案:

答案 0 :(得分:0)

根据Google's test tool这是有效的,但您可能希望为https://schema.org/Place

包含 addressCountry addressRegion