# External script

A script loaded from a separate resource through a script element's src attribute.

## What is **External script**?

**External script** — A script loaded from a separate resource through a script element's src attribute.

```html
<script src="checkout.js" defer></script>
```

Level: Journeyman · [More HTML terms at this level](https://www.ask-codey.com/glossary/subjects/html/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/external-script
