InterviewSolution
Saved Bookmarks
| 1. |
Which attribute is used to specify that the script is executed when the page has finished parsing? (only for external scripts)(a) parse(b) a sync(c) defer(d) typeThe question was posed to me in class test.The question is from Lexical Structure topic in chapter Lexical Structures of JavaScript |
|
Answer» RIGHT OPTION is (C) defer The best explanation: The defer attribute is a BOOLEAN attribute. When present, it specifies that the script is executed when the PAGE has finished parsing. |
|