Computer Science, asked by Lokita2733, 11 months ago

How to place JavaScript in External Files?

Answers

Answered by varun704001
0

Answer:

To include an external JavaScript file, we can use the script tag with the attribute src . You've already used the src attribute when using images. The value for the src attribute should be the path to your JavaScript file. This script tag should be included between the <head> tags in your HTML document.

Similar questions