一、文本框标签 <input />
<input type="text" placeholder="请输入用户名" name="username" value="admin"> #value赋值,输入框中默认value中的值
<input placeholder="请输入密码" type="password" name="password"> #type类型是密码类型,输入框中输入内容,显示格式是...
<span>是否记住登录</span><input type="checkbox" name="xxx" checked="checked"> #checked="checked勾选框默认是选中状态
<span>男</span><input type="radio" checked="checked" name="sex"> #name后面是性别属性
<span>女</span><input type="radio" name="sex"> #type="radio" 和上面的男互斥,只能选中一个