Sunday, December 9, 2018

html - the tag with the jQuery library reference must be inside or tag?







I always thought that it's better to put it in the head (maybe because it is loaded first in the head and also to group all the scripts in the head for easy reading), but I found several examples over Internet (bootstrap documentation, MVC4... etc) where the script tag with the reference to jQuery () is inserted into the body:







Bootstrap 101 Template




Hello, world!









What's the best practice?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...