Google Adsense HTML Error

Sometimes when you try to Put your Adsense code on your blog or website you may face some problems like codes errors or something like that.

so the most popular error people face when they try to past their google adsense ad codes is the ASYNC pasting error and an error code appear like this:

Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.

so to solve this problem all what you need to do is just adding a simple thing:

Your original code is like that:

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

And Now add this simple Async to be like that:

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


That's all for this and the error will be fixed.
Share To:

Post A Comment:

0 comments so far,add yours