What is the primary effect of the ‘defer’ attribute on a script tag in an HTML document?
Key points
- Defer scripts execute in order of appearance
- Defer scripts do not block HTML parsing
- Defer is ideal for scripts that depend on the DOM
Ready to go further?
