A
Q. The external JavaScript file must contain the <script> tag?.
- Correct Answer - Option(B)
- Views: 7
- Filed under category JavaScript
- Hashtags:
A
The answer is (B) False.
Explanation:
<script src="script.js"></script>
But inside script.js, you do not write <script> ... </script>. Only pure JavaScript code like:
console.log("Hello from external JS!");
You must be Logged in to update hint/solution
Be the first to start discuss.
Discusssion
Login to discuss.