Hi I really need to know if its possible to import a .js to a new html page like you would a .css, if yes, HOW?
Could someone please help? I spent all day all this, I am ither really dumb or really blind.
Put this in your code in the <head> section:
But, if you're using a plug-in that you're trying to run only after your page completely finishes loading, these scripts can be at the very bottom.
This is a generic structure of a HTML5 website with CSS, JS and jQuery library:
<meta> <!--All metatags here-->
<link href="path/to/your/stylesheet.css" type="text/css"> <!--Your CSS files can be included here-->
YOUR MAIN WEBSITE CONTENT HERE
And like CF says, the type definition is not necessary, but is definitely recommended to ensure browsers dont go into 'quirks' mode. Also to make your webpage W3 compliant.
See Primer for using jQuery Plugins:
when I made a responsive html and it keeps giving me errors when I try to add it
What errors did you get?