Topic-icon Validation error w3c

Active Subscriptions:

None
10 years 9 months ago #34744 by doctordradd
Hello
After install modules, I have 12 w3c errors...How to solve this? Thanks

Line 2, Column 143: Attribute xmlns:og not allowed here.
…#" xmlns:puertolopez="ogp.me/ns/fb/puertolopez#" lang="es-es" dir="ltr">
Warning Line 2, Column 143: Attribute with the local name xmlns:og is not serializable as XML 1.0.
…#" xmlns:puertolopez="ogp.me/ns/fb/puertolopez#" lang="es-es" dir="ltr">

Line 435, Column 498: Element name g:plusone cannot be represented as XML 1.0.
…rismo-ecuador/sobre-puerto-lopez.html"></g:plusone></div><link rel="stylesheet…

Error Line 435, Column 498: Element g:plusone not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
…rismo-ecuador/sobre-puerto-lopez.html"></g:plusone></div><link rel="stylesheet…
Content model for element div:
Flow content.

Error Line 435, Column 636: Element link is missing required attribute property.
…sets/jfbconnect.css" type="text/css" /><div class="jfbclike"><div class="fb-li…
Attributes for element link:
Global attributes
href
crossorigin
rel
media
hreflang
type
sizes
Also, the title attribute has special semantics on this element.
The topic has been locked.
Support Specialist
10 years 9 months ago #34765 by alzander
Replied by alzander on topic Validation error w3c
Those validation errors can't be fixed. They are all caused by how each of the social networks requires their social tags to be inserted. For example, the Google +1 button uses the <g:plusone> tag. That's invalid HTML syntax, but it's what Google requires for it's Javascript to properly detect the tag and render the actual +1 button.

Fortunately, there shouldn't be any issues with the invalid HTML. All browsers handle the syntax fine and there should be no ill effects from some minor validation warnings on your page. If you are experiencing any issues, just let us know, and we'll gladly help look into any issues that are being caused.

Thanks,
Alex
The topic has been locked.