ZVON > References > DOM2 Reference

writeln (method )

Owning interface and usage:  
HTMLDocument.writeln(text)

Member of these other interfaces:  
none

Description:  
Write a string of text followed by a newline character to a document stream opened by open().

Parameters:  
DOMString text  -  The string to be parsed into some structure in the document structure model.

Returns:  
nothing

Exceptions:  
none

Note:  
Note that the function will produce a document which is not necessarily driven by a DTD and therefore might be produce an invalid result in the context of the document.