Q.

Which of the following statements is false?

A. async and defer attributes of script tag execute before the domcontentloaded event
B. defer executes each script sequentially
C. async executes each script when it is ready
D. all older browsers supports async attribute
Answer» D. all older browsers supports async attribute
Explanation: 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
2.4k
0
Do you find this helpful?
32

Discussion

No comments yet