(ドキュメント) write |
         |
文字または数値を表示します |
- 書式
- document.write(★, ★, ....)
- ★=文字列 または 数式
- 文例
- document.write("Big String")
- document.write("MyAge is ",Age,"")
- 上位オブジェクト
- document
- 説明
- 文字または数値を表示します。連続して文字列や数値を表示する場合は、カンマ(,)またはプラス記号(+)を使用します。文字列中にあるタグはページに反映されます。ページ構築後に書き込みを行うと予期せぬエラーを引き起こす場合があります。
- 関連
writeln