单击按钮时打开一个新窗口单击按钮时打开一个新窗口<!DOCTYPE html><html><head><script>function openWin() { window.open("http://www.yousite.com");}</script></head><body> <form> <input type="button" value="打开新窗口" onclick="openWin()"></form> </body></html>