console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=, initial-scale=">
<meta http-equiv="X-UA-Compatible" content="">
<title></title>
</head>
<body>
<form action="index.htm" method="post" name="form1">
性别:
<input name="radiobutton" type="radio" value="radiobutton" /> 男
<input type="radio" name="radiobutton" value="radiobutton" /> 女
</form>
</body><body>
<form action="index.htm" method="post" name="form1">
我喜欢的水果: </br>
<input name="checkbox" type="checkbox" value="checkbox" /> 苹果 <br>
<input name="checkbox1" type="checkbox" value="checkbox" /> 梨子 <br>
<input name="checkbox2" type="checkbox" value="checkbox" /> 桃子 <br>
</form>
</body>
</html>