解决方法
The itemscope attribute us used to indicate that the element it is
placed on and it’s children represent a microdata item. The itemscope
should be paired with an itemtype attribute that defines the microdata
vocabulary in use.
<p itemscope itemtype="http://www.data-vocabulary.org/Organization/">
…Additional data …
Microdata vocabularies can be nested and can
be dependent on one another. For example,the organization microdata
vocabulary also contains an address as a member. The itemtype url can
point to anything. Think of it as just a unique character string that
varIoUs programs have agreed that when they see that specific ID,they
kNow how to parse and look for the itemprop tags in the sub-elements
to extract the meaning needed from the document.
有预定义的项类型值,或者您可以创建自己的值.它们可能是URL,但不一定是URL.
以下是关于这个主题的其他参考资料(Google搜索“html5 microdata”还有更多的内容):
http://net.tutsplus.com/tutorials/html-css-techniques/html5-microdata-welcome-to-the-machine/
原文地址:https://www.jb51.cc/html/229344.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。