Javascript Window create and write to new window
<!DOCTYPE html> <html> <head> <title>Page 1</title> <script type="text/javascript"> let childWindow = open("", "", "height=300"); //from ww w .jav a2 s.co m childWindow.document.write("Hello, new Window!<br/>"); childWindow.document.write("How are you today?"); </script> </head> <body> </body> </html>