Menu
I’ve got some JavaScript code functions that I want to use on a number of different HTML pages. I think I can save them in separate (.js) files and then import them into the HTML file when it executes (as I have done successfully with CSS code).
If I’m correct in this assumption, how do I achieve it? – nothing I’ve tried so far has worked. (I’ve tried “#include” and “link”) Also, if it is possible, can they be imported in the Head or the Body section, or both, of the HTML document? Thanks,
Bob