html – 如何确定具有微数据的锚标记的值?

最佳答案
Microdata规范(现在只是W3C Note)defines

If the element is an a,area,or link element
The value is the absolute URL that results from resolving the value of the element’s href attribute relative to the element at the time the attribute is set,or the empty string if there is no such attribute or if resolving it results in an error.

例外:当a / area / link元素具有itemscope属性时,则itemprop“value是元素创建的项”,而不是href值.

相关文章

Mip是什么意思以及作用有哪些
怎么测试Mip页面运行情况
MIP安装的具体步骤有哪些
HTML添加超链接、锚点的方法及作用详解(附视频)
MIP的规则有哪些
Mip轮播图组件中的重要属性讲解