2016-08-07 11 views
0

私は自分のページ上でこれを持っている:行方不明::間違って何名Person構造化データに名前がありませんか?

<div itemscope itemtype="http://schema.org/Person"> 
    <a href="john.html" itemprop="url">John W</a> 
</div> 
<div itemscope itemtype="http://schema.org/Person"> 
    <a href="chloe_m.html" itemprop="url">Chloe M</a> 
</div> 
... 

しかし、すべての私の項目がエラーを持っていますか?

答えて

1

私はあなただけそうのように、itemprop="name"に要素を追加する必要があると思う:

<div itemscope itemtype="http://schema.org/Person"> 
    <a href="john.html" itemprop="url"> 
     <span itemprop="name">John W</span> 
    </a> 
</div> 
<div itemscope itemtype="http://schema.org/Person"> 
    <a href="chloe_m.html" itemprop="url"> 
     <span itemprop="name">Chloe M</span> 
    </a> 
</div> 

this page

+0

の下部にmicrodataの例を見てくださいあなたの答えをありがとう!私はそれを試してみます! –

関連する問題