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="" method="get">
<div>
性别: 男:<input type="radio" name="sex" value="male"> 女:<input type="radio" name="sex" value="female">
</div>
<div>
我喜欢的水果:<br>
<input type="checkbox" name="dx" value="apple">苹果
<br>
<input type="checkbox" name="dx" value="pear">梨子
<br>
<input type="checkbox" name="dx" value="peach">桃子
<br>
</div>
</form>
</body>
</html>