gpt4 book ai didi

javascript - 为什么我的 Google Plus javascript 无法验证?

转载 作者:行者123 更新时间:2023-12-02 19:55:16 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com