Question
a.
Load the script asynchronously
b.
Load the script synchronously
c.
Load the page asynchronously
d.
Load the page synchronously
Posted under JavaScript
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the purpose of using the async attribute in the script tag?
Similar Questions
Discover Related MCQs
Q. Why do we need to use an onload event in the script tag after using the async attribute?
View solution
Q. What is the purpose of the startTimeLogging() method?
View solution
Q. What is the type of datatype the async attribute optionally accepts?
View solution
Q. What is the method used to create an element in the HTML DOM?
View solution
Q. What is the purpose of the method createDocumentFragment()?
View solution
Q. What is the default value of the asyc attribute?
View solution
Q. What is the method to create a data frame ?
View solution
Q. What is the purpose of creating a data frame?
View solution
Q. Which of the following navigator object properties is the same in both Netscape and IE?
View solution
Q. Which best explains getSelection()?
View solution
Q. Which of the following are client-side JavaScript object?
View solution
Q. What is the purpose of the method localeCompare()?
View solution
Q. When the 'end' event fires on EOF when no more data will arrive, which function is called?
View solution
Q. What is the purpose of lazy loading?
View solution
Q. Where is the external JavaScript placed in the case of lazy loading?
View solution
Q. What are the parameters of the attachEvent function?
View solution
Q. What is the result when the showPerformanceMetrics() is called before loading the remote script?
View solution
Q. Which of the following is an attribute to the script object?
View solution
Q. Which is the method used to add an event listener?
View solution
Q. What is the purpose of the domLoading attribute?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond JavaScript? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!