Click to open a new window



Write a javascript to open a new window



<html>            
  <head>
    <script>
    
    function openWindow()
    {
        window.open("","","width=200,height=100");     
    }

    </script>
  </head>
<body>
    
  <p> Click to open a new window  </p>

    <input type="button" value="open new window" onclick="openWindow()"/>
  </body>
</html>           
  
                  

Output: