TOC PREV NEXT INDEX

domref



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

writeln
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX