<html> <head> <script> function openWindows() { for(i=0;i<5;i++) { window.open("","","width=200,height=100"); } } </script> </head> <body> <p>Click the button to open multiple windows.</p> <input type="button" onclick="openWindows()" value="Open windows"> </body> </html>