This section provides a quick description of how to save JavaScript codes into separate files and include them into HTML documents with 'script' tags. A tutorial example is provided on calling a function stored in a separate JavaScript file.
Sometime, if you have a large amount of JavaScript code that needs to be shared by multiple HTML documents,
you can store the JavaScript code in a separate file, and use the "script" tag to retrieve this tile.
The syntax of the "script" tag to retrieve a separate JavaScript code looks like this: