HTML DOM Document writeln()
HTML DOM Document writeln() Property
The writeln() method is used to write directly to an HTML document stream. However, it will add a newline character after each statement. It will delete everything on the existing HTML when used together with a loaded document.
Syntax:-
Its syntax is:- document.writeln(exp1, ..., expN)
Further Explanation:-
Parameter | Description |
exp1,... | Optional.The output stream. |