时间:2024-10-19 16:18:55
1、新建一个html文件,命名为go.html,用于讲解Javascript怎么直接输出内容。
2、在script标签中,使用document.write语句直接输出内容。
3、运行网页,可以看到网页出现了要输出的内容。