0

Below google adsense code pointing the WC3 eroor please give any solution to the wc3 passing?

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
     data-ad-slot="7441003235"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
5
Contributors
5
Replies
23
Views
2 Years
Discussion Span
Last Post by almostbob
0

ALL google products show w3c tester errors
NONE of the sripts are code compliant, they all contain entities not defined by w3c standards
This does not mean the code is bad
google have not escape coded all the
?1=this&2=that&3=the_other that the javascriipts require, as
&#63;1=this&#38;2=that&#38;3=the_other because they get too bloody big

guess ~2 million hits a minute, 40byte less per hit, is a big drop in server load

Edited by almostbob

0

I believe that the OP is referring to getting a W3C invalidation error from the snippet of Javascript code inserted onto his own page to display Google AdSense ads. Google has stated in the past that you are not allowed to make any changes to the javascript snippet with the sole exception being to make it W3C-compliant.

0

There is no error in that code
the w3c validator has quirks, and limitations
Validate by URI. there are errors in the rendered page,
Validate by file upload. those errors vanish: the scripts are not rendered, only examined

google are not code compliant
this element <ins class="adsbygoogle"></ins>
is populated with the dirtiest code ever mis-written to make it small and still function

it is a miracle of miniature mayhem

Google don't feel the need, it just has to work. Who is gonna tell em they can't?

Errors found while checking this document as HTML5!
28 Errors, 4 warning(s)
https://www.google.com/

a name, an input box, 2 buttons: 28 errors
billions of hits, a few bytes saved on every hit, lots of $data saved

Edited by almostbob

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.