Answers for "the external javascript file must contain the <script> tag"

23

script tag to include js file

<script type="text/javascript" src="path-to-javascript-file.js"></script>
Posted by: Guest on March-08-2020
0

an external javascript cannot contain the <script> tag

<script> is an HTML tag that is used to embed Javascript code in an HTML file.
Therefore, no need to used it in javascript file
Posted by: Guest on April-15-2022

Code answers related to "the external javascript file must contain the <script> tag"

Browse Popular Code Answers by Language