| Is there a possible concern with defining the JavaScript code in the head of the page?
Choose the Correct option from Below list
(1)No, this is the only valid place to add JavaScript.
(2)Yes, some of the page elements that this code refers to may not be created yet.
(3)This could be problematic only if the JavaScript code creates new objects.
(4)This will only be an issue if the section is rendered after the section.
Answer:-(2)Yes, some of the page elements that this code refers to may not be created yet. | | |