+ 1

What about deferred scripts?

The parsing of deferred scripts will be performed after the HTML is fully parsed, no matter where it is placed. So that's nearly the same like putting the script at the very end of the body element, isn't it? Wouldn't it be more professional to add a script that way?

21st May 2018, 12:41 PM
Michael Sander
1 Réponse
+ 4
I would argue that it is more professional to use the defer attribute since you are using a well defined behavior defined in the HTML standard instead of a property that the HTML parser might or might not have
21st May 2018, 1:20 PM
Max
Max - avatar