单选或多选

<input type="radio/checkbox" value=''值" name="名称" checked="checked" />

1,type:radio表示单选,checkbox表示复选

2,checked:表示默认被选中该项

3,checked选项可不写

原文地址:https://www.cnblogs.com/monica123456/p/6196090.html