如何仅在单击 html 中的按钮时关闭弹出窗口 window

How to close a popup window, when clicking onto a button in html only

我一直在尝试在我的页面上使用纯 HTML,因为我不知道 jQuery 并且对 JavaScript 非常不熟悉。

有没有办法用纯 HTML 关闭弹出窗口 window?

<td colspan="4">
  <div align="center">
    <label>
      <input type="checkbox" name="checkbox" value="checkbox">I Agree To The Terms & Conditions</label>
  </div>
</td>
</tr>
<tr>
  <td width="27%" height="28">
    <div align="center">
      <label></label>
    </div>
  </td>
  <td width="22%">
    <form action="LLH.html">
      <div align="right">
        <input type="submit" value="Agree">
      </div>
    </form>
  </td>
  <td width="21%">
    <div align="left">
      <form action="master.destroy(Terms.html)">
        <input type="submit" value="Do Not Agree">
      </form>
    </div>
  </td>
  <td width="30%">&nbsp;</td>

<input type="button" value="Close this window" onclick="self.close()">

在 body 中,有帮助吗?