综合百科

在源代码中document.write是什么意思 谢谢

在网页页面需要显示出什么你就用它 比如document.write(<h1>'hello,world'</h1>)它和writeln(),区别前者对HTML代码编译显示 加粗的hello,world 后者显示<h1>'hello,world'</h1> 页面上就显示出hello,world。

上一篇:重力功率怎么求
下一篇:阻力的反义词