Can we add a script code in an iframe?

With no info I just can respond by : Yes.
 
I may be wrong but..

You could create a blank html or php file and embed the ad code. Set body margins to 0.

Then iframe that html or php file.
 
It should... Give it a try and confirm with us :p
 
How this will speed up the site ?
Are you sure you can do that ? Many Ads networks don't allow an ads in a inframe. Be carefull and ask them.
 
you could asynchronously load that script snippet on document ready. will be much cleaner
 
You can, if the iframe is in the same domain. You can't, if the iframe is not on the same domain. Depends.
 
Back
Top