Basic Things of Implementing JavaScript to Web Pages
JavaScript can be typed in any text editor like notepad and can be stored separately with file extension.js. Usually, it is stored as a part of the HTML document. JavaScript codes are included in HTML documents by using the <script> tag.
The script tag is a non-empty tag and should be closed using the </script> tag. The script tag takes in two attributes namely language and src. The language attribute specifies the name of the scripting language used like JavaScript and VBScript. The src attribute specifies the name of the source file where the script is stored. The src is used only when the scripts are stored in a separate file. <script language = “ “ src = “ “ >

