McqMate
Q. |
What is the use of “defer” attribute? |
A. | it defers rendering of html page |
B. | it defers script execution until the page has been rendered |
C. | it defers rendering of css attributes |
D. | it is only for internal scripts |
Answer» B. it defers script execution until the page has been rendered | |
Explanation: the defer attribute is a boolean attribute. the script is executed after the page has finished parsing. the defer attribute is used if and only if there is src attribute. defer is for external not internal scripts. |
View all MCQs in
Information Retrival TechniquesNo comments yet