This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

writeln

Method of dom/Documentdom/Document

Syntax

 object.writeln(psarray);

Parameters

psarray

Data-type
any

A String that specifies the text and HTML tags to write.

Return Value

No return value

Notes

Remarks

In HTML, the carriage return is ignored unless it occurs in preformatted text. Do not use the write method or the writeln method on the current document after the document has finished loading unless you first call the open method, which clears the current document window and erases all variables. Note When Document.write or document.writeln is used in an event handler, you must also use document.close.

Syntax

Standards information

See also

Related pages

Attributions