Skip to content
HTML.ONE
Home HTML Elements

HTML <script> Element

Embeds or references script code. Use defer for classic external scripts that should run after parsing.

Example

<script src="app.js" defer></script>

Further reference

HTML Living Standard