<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<!-- autofocus自动焦点 -->
<!-- <form action="">向何处发送表单数据 -->
<form action="" method="post">
<div>
<label for="name">用户名</label>
<!-- type类型,name属性的名称,value值(输入的内容),placeholder预设值 -->
<input
id="name"
type="text"
name="username"
value=" "
placeholder="至少8位"
/>
</div>
<label for="pass">密码</label>
<!-- type类型,name属性的名称,value值(输入的内容),placeholder预设值 -->
<div>
<input
id="pass"
type="password"
name="password"
value=" "
placeholder="密码+数字"
/>
</div>
<div>
<button>提交</button>
</div>
<div>
<input type="checkbox" value="nv" />唱歌
<input type="checkbox" value="nv" />跳舞
<input type="checkbox" value="nv" />读书
<input type="checkbox" value="nv" />交友
<input type="checkbox" value="nv" />书法
<input type="checkbox" value="nv" />上网
<input type="checkbox" value="nv" />旅游
<input type="checkbox" value="nv" />聊天
</div>
</form>
</body>
</html>