1. “script” tag and “body” tag
  2. External JavaScript and the “script” tag
  3. “html” tag and “body” tag
  4. None of the mentioned
4 views

1 Answers

Answer: Option 2

All JavaScript libraries consists of two parts: 1. The external JavaScript itself, which is simply a text file with the containing JavaScript code, saved as a .js file. 2. A “script” tag referencing the external JavaScript file and defined on the page(s) that uses the library.

4 views

Related Questions