You have two options to execute JavaScript in your browser: either place it in a script element within an HTML document or inside an external JavaScript (with a. You can then refer to that file in the HTML document by using an empty script element and src attributes.
Disclaimer.
All the information on this website is published in good faith and for general information purpose only. Watson Media does not make any warranties about the completeness, reliability, and accuracy of this information.