DHTML Methods
Writes a string of text followed by a newline character to the document stream.
document.writeln ( "sText" )
sText |
Required. String specifying the text and/or HTML tags to be parsed into the document structure. |
No return value.
This method writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. The text is parsed into the document's structure model.
In HTML, the carriage return is ignored unless it occurs within preformatted text.
Note that document.writeln in intrinsic event handlers create and write to a new document rather than modifying the current one.
document