<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>学习表单</title>
</head>
<body>
<h1>学习表单和单选框</h1>
<form action="表格标签.html" method="get">
<p>账号:<input type="text" name="username" value="zhan" size="30" maxlength="8"></p>
<p>密码:<input type="password" name="pwd"></p>
<p>
<input type="submit">
<input type="reset">
</p>
<br>
<!--
单选框 radio , 同一组的才单选
value :值
name : 组
-->
<p>性别
<input type="radio" value="boy" name="sex">男
<input type="radio" value="girl" name="sex">女
</p>
</form>
</body>
</html>