Fix – Error Attribute name “async” associated

Once when I tried  Google adsense code in a blogger blog  I get below message “Error parsing XML, line 2072, column 19: Attribute name “async”
associated with an element type “script” must be followed by the ‘ = ‘
character.”

Fix - Error Attribute name  So I did some research and Googling finally I found the issue and fixed it. Let me share the solution here so it will be helpful to you guys too.

To resolve this issue, change the highlighted part in the code below –

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

To

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

And done ! Save Template.

 

About Shino

Shino, the author of this blog is a 28 year old master graduate in Computer Science, a professional programmer and web developer. TechMagics.com is his humble venture to share whatever he knows and learns about programming,technology and web world.

Leave a Reply