js
cheeseCui
Time Will Tell
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
document.writeln
document.writeln是向文档中写入一串文本,并紧跟着一个换行符。 只在写入html时增加换行,而非显示增加换行样式,见下面栗子: document.write: js: document.write('write 内容1') document.write('write 内容1') 浏览器显示的: document.writeln: js: document.writeln(‘write 内容1’) document.write(‘write 内容1’) 浏览器显示的: ...原创 2020-05-25 11:23:21 · 6072 阅读 · 0 评论 -
doucment.write()
doucment.write() document.write() 方法将一个文本字符串写入一个由 文档流,主要有两种使用 调用发生在 HTML 里的 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </style> <script> function rewrite(){ docume原创 2020-05-25 10:59:18 · 404 阅读 · 0 评论
分享