微观嵌套

时间:2015-03-25 13:31:51

标签: html5 microdata

我目前正在为文章页面编写标记,并且存在嵌套微数据的问题。请参阅下面的标记:

<article itemscope itemtype="http://schema.org/Article">
    (...)

    <footer>
        <figure itemprop="author" itemscope itemtype="http://schema.org/Person">
            <img itemprop="image">
            <figcaption>
                posted by
                <a itemprop="name">John Doe</a>
                about
                <a itemprop="about">love</a>
            </figcaption>
        </figure>
    </footer>
</article>

我想将itemprop="about"用于itemtype="http://schema.org/Article"。但Google testig tool表示itemprop="about"itemtype="http://schema.org/Person"无效。

是否可以在不更改标记的情况下声明itemprop="about"引用itemtype="http://schema.org/Article"而不引用itemtype="http://schema.org/Person"

0 个答案:

没有答案
相关问题