Open In App

Web technologies Questions | JavaScript Course Quiz 1 | Question 2

Where is the correct place to insert a JavaScript?
(A) Both the head section and the body section are correct
(B) The head section
(C) The body section
(D) None of the above

Answer: (A)
Explanation: We can place the <script> tag inside the head tag or the body tag, both the techniques are correct.
Quiz of this Question

Article Tags :