input标签(单选框和复选框)

单选框:

<form>

  <input type="radio" name="..." value="..." checked />

</form>

注意:同一组的name值要相同。

复选框:

<form>

  <input type="checkbox" name="..." value="..." checked />

</form>

原文地址:https://www.cnblogs.com/hugegege/p/9443859.html