html – 什么是div itemtype?我有一个评论网站我的网站的itemtype的价值是什么?

html – 什么是div itemtype?我有一个评论网站我的网站的itemtype的价值是什么?,第1张

概述如果我使用< div>标签itemprop =“review”itemscope itemtype =“http://mydomainname.com/Review”itemtype,那么我需要在我的网站上创建一个名为review的页面? 我建议你在 HTML5微数据上阅读 this tutorial.以下是该文档关于itemtype的摘录: The itemscope attribute us 如果我使用< div>标签itemprop =“revIEw”itemscope itemtype =“http://mydomainname.com/RevIEw”itemtype,那么我需要在我的网站上创建一个名为revIEw的页面?解决方法 我建议你在 HTML5微数据上阅读 this tutorial.以下是该文档关于itemtype的摘录:

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/

http://diveintohtml5.info/extensibility.html

http://www.tutorialspoint.com/html5/html5_microdata.htm

总结

以上是内存溢出为你收集整理的html – 什么是div itemtype?我有一个评论网站我的网站的itemtype的价值是什么?全部内容,希望文章能够帮你解决html – 什么是div itemtype?我有一个评论网站我的网站的itemtype的价值是什么?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1094066.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存