摘要: js引入方式: 1、嵌入js的方式:直接在页内的script标签内书写js功能代码。 <script type="text/javascript">alert('hello')</script> 2、外联式引入js:以相对路径的方式引入本地js文件,实现H5、CSS、JS分离。 <script ty 阅读全文
posted @ 2019-12-07 15:10 无名之辈。 阅读(300) 评论(0) 推荐(0)