AvailabilityJavaScript 1.0 Synopsisdocument.writeln(value, ...) Arguments
DescriptionDocument.writeln( ) behaves just like Document.write( ) except that after appending all of its arguments to document, it also appends a newline character. See the Document.write( ) reference page for more information on this method. Newline characters are not usually displayed in HTML documents, so Document.writeln( ) is generally useful only when writing text to appear in a <pre> environment, or when writing to a document opened with a MIME type of "text/plain". See AlsoDocument.close( ), Document.open( ), Document.write( ) |