<script src=””>

Attribute of
<script> HTML Tag
What does <script src=""> do?
Specifies the URL of an external script.

Coding Efficiently

Where possible, it’s good practice to separate JavaScript from HTML by using an external script file and using <script> to import its contents.

The src attribute of <script> is used to specify the URL of the external file.

Claire is an HTML enthusiast.

Browser Support for src