Scripts - programs written in a programming language for use on an Internet resource.
To insert the script code necessary to integrate it in the right place on the page under the appropriate tag HTML.
& Lt- / head>
In this example, the menu can be directly inserted script for further display page.
If the script is distributed as a file in the JS format, you can also include it in the document:
& Lt-script src = «fayl_skripta»> & lt- / script>
In this case, "fayl_skripta" is responsible for the path to the directory where the document with respect to the expansion of JS edit page.
Thus, if you copied your script called script.js in the same folder where the HTML file, you will need to simply write:
& Lt-script src = «script.js»> & lt- / script>
After editing the file and making it necessarychanges, save the data using the "File" menu - "Save" and open the page in a browser to test the code inserted by pressing the right mouse button on an HTML file and selecting "Open With."