Current location - Health Preservation Learning Network - Healthy weight loss - I downloaded some special effects in the lazy material library, especially some css and js. How can I put her on my web page?
I downloaded some special effects in the lazy material library, especially some css and js. How can I put her on my web page?
Method 1: 1. Introduce css and js.

Css: adding head tags to html

& ltlinkrel = "stylesheet" type = "text/CSS" href = "CSS file path you downloaded"/>

js:& lt; Script type = "text/JavaScript" src = "the path of the js file you downloaded" > & lt/script & gt;;

2. Add a div of the house content in the html page, and the added id corresponds to the id in js and css.

Method 2:

There should be an html file in the file you downloaded.

You can directly import his html page into your page. As for the introduction method, js has a useful framework.