js入门新建hello world

2024-10-12 16:46:09

1、使用IDE新建html文件,或者在桌面新建文本文件,然后修改文件后缀名为html。

js入门新建hello world

3、添加<script>标签。<script></script>用于标识脚本语言的开始跟结束

js入门新建hello world

5、使用浏览器打开该html文件。浏览器弹出提示框Hello World。

js入门新建hello world
猜你喜欢