console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>单选框</title>
</head>
<body>
<form action="index.htm" method="post" name="form1">
性别:
<input name="radiobutton" type="radio" value="radiobuttion" checked="checked" /> 男
<input type="radio" name="radiobuttion" value="radiobuttion" /> 女
</form>
<form action="index.htm" method="POST" name="form1">
我喜欢的水果:
<input name="checkbox" type="checkbox" value="checkbox" /> 苹果
<input name="checkbox1" type="checkbox" value="chenckbox" /> 梨子
<input name="checkbox2" type="checkbox" value="chenckbox" /> 桃子
</form>
</body>
</html>