Parser-Blocking JavaScript
A plain <script> tag pauses HTML parsing until it's fetched and run, because a script can change the DOM. The `async` and `defer` attributes let parsing continue.
<script defer> runs after parsing instead of stopping it.
parser: parsing…
<html> parsing…
Tap the example to replay it · press and hold to slow it down