Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | JavaScript Course Quiz 1 | Question 3

  • Last Updated : 17 Apr, 2019

Is it necessary for the external script file to contain a <script> tag?
(A) Yes
(B) No
(C) Depends on the type of include
(D) None of the above

Answer: (B)

Explanation: No, it is not at all necessary to place a <script> tag inside the external javascript code, as your editor already knows it is a javascript code as you have saved the file with .js extension.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!