Schema:通过 itemid 链接模式对象

问题描述 投票:0回答:1
html schema.org w3c-validation microdata
1个回答
0
投票

您可以删除第二个 Person 定义:

<div itemtype="https://schema.org/Person" itemscope="" itemid="https://website.com/name/#profile">
    <meta itemprop="name" content="MyName">
</div>
<div itemtype="https://schema.org/ImageObject" itemscope="">
    <link itemprop="url" href="https://website.com/img.jpg">
    <meta itemprop="creator" itemid="https://website.com/name/#profile" itemscope="">
</div>

Schema validation screenshot

© www.soinside.com 2019 - 2025. All rights reserved.