网站介绍:文章浏览阅读122次。JavaScript入门1. JavaScript引入页面的三种方式行间事件<!-- 第一种页面引入js的方式:行间事件 不推荐使用 --><div onclick="alert('hello world')">这是一个div</div>内嵌式<!-- 第二种页面引入js的方式:内嵌式 部分推荐使用 --><script> alert("hello world again!!!")</script>
- 链接地址:https://blog.csdn.net/qq_41775886/article/details/112853039
- 链接标题:JavaScript入门-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:119
- 网站标签:JavaScript入门