2012-01-06 50 views
0

可能重複:
Google +1 Button not W3C compliant爲什麼我的Google Plus JavaScript無法驗證?

我對谷歌的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… 
+1

什麼的JavaScript?這不是一個HTML驗證失敗? – nnnnnn 2012-01-06 10:45:55

+1

它不會被驗證,因爲Google向您提供了無效的代碼。 – Quentin 2012-01-06 13:29:42

回答