1.

What is the purpose of using the async attribute in the script tag?(a) Load the script asynchronously(b) Load the script synchronously(c) Load the page asynchronously(d) Load the page synchronously

Answer» Right choice is (a) Load the script asynchronously

To elaborate: The async option is a native attribute that will tell the browser to load the script asynchronously. The async attribute is a boolean attribute. When present, it specifies that the script will be executed asynchronously as soon as it is available.


Discussion

No Comment Found

Related InterviewSolutions