Validation error: “The itemprop attribute was specified, but the element is not a property of any item”

怎甘沉沦 提交于 2019-12-03 02:26:13

You should explicitly provide a type these properties (name, description, image) belong to.

In Schema.org, everything is a Thing. Thing has many child types, listed under "More specific Types". Start there and choose the most specific type for your content.

For example: WebPage, Article or maybe BlogPosting.

It could look like (using WebPage as example here):

<html itemscope itemtype="http://schema.org/WebPage">

If you use itemprop meta tag in header for your site title, description and so on.

only just add itemscope itemtype="http://schema.org/WebPage" in your html tag.

finally:

<html itemscope itemtype="http://schema.org/WebPage">
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!