defer attribute for external scripts
defer attribute for external scripts
The boolean defer attribute on script elements allows the external JavaScript file to run when the DOM is loaded, without delaying page load first.
Spec | https://html.spec.whatwg.org/multipage/scripting.html#attr-script-defer |
---|---|
Status | WHATWG Living Standard |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|