Description: Illustrates the JavaScript syntax for the Open Method .
Syntax: document.open("mimetype","replace") – Opens the output stream to collect any data from document.write or .writeln. mimetype – optional – specifies the type of document you are are writing to. Default is "text/html". replace – Optional. When set, it causes the history entry for the new document to inherit the history entry from the parent document.