HTML code is enough to display ads in other third party websites
their are to types of code in Google adsence
one is simple starts with <script
and second <script async
its better to chose second one
you can select any format Text/image, 728x90 , Text/image, 300x250
<script></script> is javascript embedded in a html tag.
see this with Second one <script async
ITs has special async tag async
Uhh, do you by any chance know what async is in the first place?
I suppose html considers it an attribute.
as i said their are two types of code in Google adsence
Differences Between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the async attribute must be defined as <script async="async">.
The async attribute is a boolean attribute.
Note: The async attribute is only for external scripts (and should only be used if the src attribute is present).
Note: There are several ways an external script can be executed:
If async is present: The script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing)
If async is not present and defer is present: The script is executed when the page has finished parsing
If neither async or defer is present: The script is fetched and executed immediately, before the browser continues parsing the page