The element would eventually look something like the following:
var variable = "value";
2. You can reference an external JS file using a different version of a script element, and the JS file's contents will be pulled into the HTML document (DOM) after the HTML file is opened.
The element would look something like the following:
<!-- HTML4 and (x)HTML -->
<!-- HTML5 -->