1. Right-click the HTML file where you want to include the JS file. Select 'Open With.' Double-click the HTML editor you want to use to insert the JS file.
2. Locate the '
' and '
' tags. Within these opening and closing tags, copy and paste the following code:Replace the 'javascript.js' file name with your file name.
3. Hold down 'Ctrl' and press the 'S' key to save the file. You must repeat these steps for each HTML file where you want to include a JS file.
No comments:
Post a Comment