Possible Duplicate:
Google +1 Button not W3C compliant
我的 google plus javascript 未通过 w3c 验证。你能告诉我为什么吗?
这是错误消息:
Line 53, Column 407: Element name g:plusone cannot be represented as XML 1.0.
…hgoogle.png" alt="Logo"></a><g:plusone></g:plusone><a href="https://www.facebo…
✉
Error Line 53, Column 407: Element g:plusone not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
…hgoogle.png" alt="Logo"></a><g:plusone></g:plusone><a href="https://www.facebo…
最佳答案
我也遇到了类似的问题,如果您使用 HTML5,它将不会验证,除非您使用特定于 HTML5 的代码,不幸的是,我此时无法及时向您提供我的代码片段,但是在这里
https://developers.google.com/+/plugins/+1button/
就在副标题+1标签下方
关于javascript - 为什么我的 Google Plus javascript 无法验证?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8755779/