<script defer>

Attribute of
<script> HTML Tag

The defer element of <script> allows a script to load, but pauses the execution of the script until the page has loaded.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

Browser Support for defer