Script Positioning Scripting Location
The HTML 4 specification indicates, a <script> tag may placed inside of a HTML document and may appear any number of times within each. Traditionally, script> tags that is used to
Load external JavaScript files has appeared in the Other metainformation about the page. The theory is that it's best to keep as many style and behavior
dependencies together, loading them first so, the page would come in looking and behaving correctly. For
Example
The HTML 4 document states that a <script> tag can be placed in the Appear. Traditionally,,<script> tags are used to load external JavaScript files. Used to load external CSS files and other page middleware. In other words, it is best to put together the parts that are dependent on the style and behavior, first add
Load them so that the page can get the right look and behavior. For example:
The HTML4 document clearly states that a script tag can be placed in any number of head tags, body tags, or any of the HTML documents.
Traditional recommendation: 1, if the script tag is used to refer to external files in the head tag best, it is not lonely, some meta-information about the page and the link tag for loading external CSS code will stay with it.
2, it is best to follow the dependencies in order to refer to JS and CSS to ensure that the page appearance and behavior is right.
Along with the page would come in looking and behaving correctly page will be correct in style and behavior.
The sentence is not difficult to understand is a lot of new words ...
Read high performance JavaScript programming English chapter I third page second paragraph