新建一个html文件在js里面写入,那么通过js就可以在页面输出
JavaScript:写入 HTML 输出
实例
document.write("<h1>This is a good web freemobam.com</h1>"); document.write("<p>This is a web freemobam.com</p>");
document.write("<h1>This is a good web freemobam.com</h1>"); document.write("<p>This is a web freemobam.com</p>");
本文地址:https://www.freemoban.com/javascript/2015/0117/204.html
Copyright:www.freemoban.com 免费模板网 All Rights Reserved 网站备案:辽ICP备19014872号-2 辽公网安备:42900402000182号
免责声明:本站部分资源来自互联网收集,版权归原创者所有,如果侵犯了你的权益,我们会及时删除侵权内容,联系QQ:1615187561 谢谢合作!