HTML DOM Document write()
HTML DOM Document write() Method
The write() method is used to write directly to an HTML document stream. It will delete everything on the existing HTML when used together with loaded document. It is mostly used in conjunction with open() method which is used for opening output streams.
Syntax:-
Its syntax is:- document.write(exp1, ..., expN)
Further Explanation:-
Parameter | Description |
exp1,... | Optional.The output stream. |