# defer

*noun*

say it: **“dih-FER”** **/dɪˈfɝ/**

A script attribute that downloads the file while the page is read and runs it only after the HTML is done, keeping scripts in their written order.

## What is **`defer`**?

**`defer`** — A Boolean classic-script attribute that delays execution until parsing finishes while preserving document order.

## In a sentence

- “With **defer** on the script tag, the menu text shows first and the code runs after.”

Level: Journeyman · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/defer
