【发布时间】:2021-05-08 09:41:18
【问题描述】:
它显示错误:对于 itemReviewed 属性来说,Thing is not a known valid target type.for 下面的代码。请帮忙。
<div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating" style="color: #333; margin: 10px auto; font-size: 12px;display: inline-block;width: 100%;line-height: 20px;">
<span itemprop="itemReviewed" itemscope itemtype="http://schema.org/Thing" style="color: #333; margin: 20px auto; font-size: 12px;">
<span itemprop="name">#</span>
</span>
<span>
<a href="https://#/testimonials.html" title="Check all reviews" rel="nofollow" style="color: #333; margin: 20px auto; font-size: 12px;">Reviews</a>
</span><br>
<span itemprop="ratingValue" style="color: #333; margin: 20px auto; font-size: 12px;">5</span> rating, out of
<span itemprop="bestRating" style="color: #333; margin: 20px auto; font-size: 12px;">5</span> based on
<span itemprop="ratingCount" style="color: #333; margin: 20px auto; font-size: 12px;">1127</span> Patients.
【问题讨论】:
-
请添加示例代码或更多详细信息
标签: php html css structured-data