in async attribute, the script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing). defer, the boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing
Discusssion
Login to discuss.