TOC PREV NEXT INDEX

Put your logo here!


writeln


Writes a string of text followed by a newline character to a document.

Syntax

document.writeln(line) 

Parameters

line is string containing a line of text

Example

document.writeln("<p>enter password:</p>"); 

Notes

writeln is the same as write but adds a newline.

Specification

html


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX