Google +1代码验证错误:缺少属性 [英] Google +1 code validation error: missing attribute
本文介绍了Google +1代码验证错误:缺少属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的代码:< g:plusone annotation =inline>< / g:plusone>
我得到这个错误:
没有属性注释
元素g:plusone undefined
为什么?
解决方案
您有两种选择:
$ b
-
更改为使用此样式标记
< div class =g- plusonedata-size =tall...>< / div>
添加XML NS for google's
< g:
语法添加到文档的< html
标签。现在,如果只有Google会分享xml命名空间所在的位置......(真的,只需尝试选项1)
My code: <g:plusone annotation="inline"></g:plusone>
I get this error:
there is no attribute "annotation"
element "g:plusone" undefined
Why?
解决方案
You have two choices
Change to using this style markup
<div class="g-plusone" data-size="tall" ... ></div>
Add the XML NS for google's
<g:
syntax to the<html
tag of the document. Now if only Google would share where that xml namespace is located... (So really, just try option 1)
这篇关于Google +1代码验证错误:缺少属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文