JS Placing scripts

Ace your homework & exams now with 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


Related study sets

Decimals, Fractions, and Percents

View Set

Chapter 30: The Strategic Planning Process

View Set

CPT-264 Systems and Procedures Chapter-1

View Set

Network Troubleshooting and Tools (5.0) study set

View Set

CompTIA A+ Exam 220-1001 - Troubleshooting Quiz

View Set

1st conditional + future time clauses

View Set