Multiple choice technology web technology

An external JavaScript must contain the tag

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

External JavaScript files saved with .js extension should NOT contain the tag. The <script> tag is only used in HTML files to reference or embed JavaScript. Including script tags in .js files would cause syntax errors.