Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What is the difference between defer and async?
1.
What is the difference between defer and async?
Answer»
S.no
defer
async
1.
It downloads the
FILE
during the HTML parsing but executes the
DATA
after the parsing is completed.
It downloads the data during the HTML parsing, but it stops the parsing from
EXECUTING
the downloaded file.
2.
Defer is used when the script relies
UPON
another script.
Async is used if the script does not rely upon any
SCRIPTS
.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What are Java doGet () and doPost () methods?
How garbage collection makes Java more memory efficient?
What is the use of overloading and overriding in Java?
What is the difference between boxing and unboxing in Java?
What is the difference between Errors and Exceptions in Java?
Which one is better, setter injection or constructor injection?
Can you override a static method in Java?
How many ways to handle exceptions in the Spring MVC Framework?
What are the different methods of session management in Servlet?
How can we detect and avoid deadlock in Java?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies