我正在网站上的联系页面上实现 schema.org 标记,以构建公司名称、地址、电话号码和电子邮件。
为了格式化它,我将它的一部分包装在<p>
标签中。这会使 schema.org 标记无效吗?
p
这是标签之前的样子:
<div itemscope itemtype="http://schema.org/LocalBusiness">
<span itemprop="name">Acne co</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">123 street</span>
<span itemprop="addressLocality">London</span>,
<span itemprop="addressRegion"></span>
<span itemprop="postalCode">N64TF</span>
</div>
<span itemprop="telephone">02083548800</span>
<span itemprop="email">studio@acne.co.uk</span>
</div>
这是之后的样子:
<div itemscope itemtype="http://schema.org/LocalBusiness">
<p class="title">
<span itemprop="name">Acne co</span>
</p>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<p>
<span itemprop="streetAddress">123 street</span><br />
<span itemprop="addressLocality">London</span>, <span itemprop="postalCode">N64TF</span>
</p>
</div>
<p>
<span itemprop="telephone">02083548800</span><br />
<span itemprop="email">studio@acne.co.uk</span>
</p>
</div>