As presented by AdSense.
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-3680557255602509", enable_page_level_ads: true }); </script>
As installed in the blog header.
<head> <script async="async" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-123456789", enable_page_level_ads: true }); </script>
As installed outside the header.
<script async='async' src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> //<![CDATA[ (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-01234567890", enable_page_level_ads: true }); //]]> </script>
As installed in an HTML gadget.
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-3680557255602509", enable_page_level_ads: true }); </script>
Attribute name "async" associated with an element type "script" must be followed by the '=' character.
This is HTML (AdSense) vs XHTML (Blogger). It's not just a Blogger limitation.
In XHTML, attribute minimization is forbidden, and the async attribute must be defined as <script async="async">.
It's Blogger, observing XHTML standards.
https://productforums.google.com/forum/#!category-topic/blogger/exx3yvB9d8c
https://productforums.google.com/d/topic/blogger/exx3yvB9d8c/discussion
https://productforums.google.com/d/topic/blogger/Jdl7cxdjEiQ/discussion
https://productforums.google.com/d/topic/blogger/MPSYVu9hpzw/discussion
target="_blank"
#FFCCCC ltred #FFF0B2 ltorange #FFFFCC ltyellow The REAL Blogger Status Have you posted yet in AdSense Help Forum: Blogger, YouTube, Partner sites? Have you posted yet in Blogger Help Forum: Learn More About Blogger? Have you posted yet in Blogger Help Forum: Get Help with an Issue? http://blogging.nitecruzr.net/ blogging.nitecruzr.net http://bloggerstatusforreal.blogspot.com/ bloggerstatusforreal.blogspot.com
Comments