| writeln() This method is used to write content to the window or frame. It differs from the write() method in that it inserts a carriage return at the end of the line. When used with the document.writeln() statement, a document.close() statement is needed to close the output stream to the window or frame. syntax: document.writeln(content) The writeln() method is used with the following: document
|