Home>Article>Web Front-end> What method can be used to add js to the html page?
Method 1: Introduce JS files in the head tag
(Recommended tutorial:html tutorial)
Method 2 :Write JS code in the body tag
The above is the detailed content of What method can be used to add js to the html page?. For more information, please follow other related articles on the PHP Chinese website!