(0 refers to the index of the form – if you have more than one form in a page, then the first one has the index 0, second has index 1 and so on).
You can directly add a script element inside the body of page.
1. For example, to add the "last updated line" to your pages, In your page text, add the following:
<p>blah, blah, blah, blah, blah.</p>
<!-- Hiding from old browsers
document.write("Last Updated:" +
<p>yada, yada, yada.</p>
Functions and global variables typically reside inside the <head> element.
<title>Default Test Page</title>
var myVar = "";