What is the difference between enabling Javascript in <head>and not immediately after the OPENING tag <body>?
Facebook Like a widget, this is one example where they offer to place the code immediately after opening the tag <body>. SiteCatalyst also offers this for its analytics code.
Despite the obvious difference between the inclusion of code in the element <head>, and not on the right before the closing tag </body>, I’m not sure what the difference is between <head>and immediately after opening the tag <body>.
source
share