What does the defer attribute do on an external <script> tag?
Correct answer
A. Runs it after parsing, in order
15 views
A. Runs it after parsing, in order
15 views
defer downloads in parallel without blocking, then executes after parsing, in the order the scripts appear. async runs as soon as the script downloads, in any order.
Asked in: NTS, Web Developer Interviews
Not sure why the answer is A? Ask here and get an explanation.