<script defer>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
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

iefirefoxchromeedgesafariopera
103.6All13All15