JavaScript 关闭浏览器窗口

<input type="button" name="m" value="关闭窗口" onclick="window.close()">