<script>
HTML <script> Element Reference
The HTML <script> element embeds executable code or references an external script.
Categories
- Scripting
Tag omission
Consult the HTML Living Standard for the precise tag-omission rules.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical script element example.
<script type="module" src="/app.js"></script>