JS Placing scripts
¡Supera tus tareas y exámenes ahora con Quizwiz!
What are the last 3 characters of a JavaScript file name?
.js
What is the line below the last </script> tag in an HTML document?
</body>
Code the tags for including an external JavaScript file in a page. Use any name you like for the JavaScript file.
<script src="main.js"></script>
Include the file scripts.js in the HTML page. Add the closing tag.
<script src="scripts.js"></script>
What are the opening and closing tags that enclose JavaScript code that is embedded in HTML? Don't separate them with a space.
<script></script>
What is an example of a name for an external JavaScript file?
allScripts.js