Level 4
Level 6
8 words 0 ignored
Ready to learn
Ready to review
Ignore words
Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.
Ignore?
<script>
What tag is used to embed JS code into HTML?
between the <script> </script> tag pairs
Scripting code in an HTML document is located _______
<body> and <head>
Script tags may be put in which sections of an html page?
...placed in external files
Scripts can also be...
External JavaScript
JavaScript code written separately in order to be brought into a document
.js
JavaScript files have the file extension _______
How can you call for an external script?
External scripts should end with .js and is called within the script tag using the src attribute.
External JavaScript Advantages
It separates HTML and code, makes HTML and JavaScript easier to read and maintain, allows Cached JS files to speed up page loads