-
What is the work of async attribute?
-
- It validates form data
- Enables a set of extra restrictions on any content
- It influences script loading
- It gives a label to the menu
- None of these
Correct Option: C
Async is the new attribute of the <script> element which influences script loading and its execution. It is a Boolean attribute which shows the manner of script execution. If async is present, the script will be executed asynchronously, as soon as it is available.