src attribute | src property
Retrieves the URL to an external file that contains the source code or data.
the URL of the source code or data.
A script element can use the SRC attribute to refer to code stored in an external script library. If a script element refers to an external library and also contains code local to the block defined by the element, the code in the external library is executed before the local code.