How to reference the JavaScript script in the page?

xiaoxiao2021-03-06  18

There are two ways to reference JavaScript scripts in the page:

1. Add a script function between the ... of the HTML code;

2. Quote script file in HTML code: