An IBM website talking about rapid web development here mentioned a useful skeleton HTML. In the template, the script inclusion is inside body rather than head. Is it a good practice? Isn't it better to put any library inside head instead?
Template
VS
Template
Answer
It is now standard for script tags to be included just before the closing of the body tag so that the script loading does not block the rest of the page loading.
No comments:
Post a Comment