如何使用javascript创建html文档 [英] how to create html document by using javascript

查看:66
本文介绍了如何使用javascript创建html文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以通过使用javascript创建html文档,如果可以的话,您能告诉我如何实现此目标吗?


提前tx

Hi,

is it possible to create a html document by using javascript,if so can u tell me how can i achieve this


tx in advance

推荐答案

您的JavaScript可能位于HTML文档中,因为它将被提供给浏览器.但是,HTML只是文本,因此,JavaScript可以创建它.真正的问题是,为什么要这么做,以及要怎么做?
Your javascript will be inside a HTML document, presumably, as it will be served to a browser. However, HTML is just text, so, of course, javascript can create it. The real question is, why do you want to, and what do you want to do with it ?


这篇关于如何使用javascript创建html文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆