HTML <script> src Attribute
Try it yourself »
The src attribute is supported in all major browsers.
Definition and Usage
The src attribute specifies the URL of an external script file.
Note: The external script file cannot contain the <script> tag.
Note: Point to the external script file exactly where you would have written the script.
Differences Between HTML 4.01 and HTML5
|URL||The URL of the external script file.
HTML <script> tag
Thank You For Helping Us!
Your message has been sent to W3Schools.