<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表单应用</title>
</head>
<body>
<form>
<!--readonly 只读-->
<p>名字:
<input type="text" name="username" value="admin" readonly>
</p>
<!--hidden隐藏某个框,可以使用默认值-->
<p>
<input type="password" name="pwd" value="123" hidden>
</p>
<!--checked 默认选项
disabled 不可选-->
<p>
<input type="radio" value="boy" name="sex" disabled>男
<input type="radio" value="girl" name="sex" checked>女
</p>
<!--增强鼠标可用性-->
<p>
<label for="mark">点击我</label>
<input type="text" id="mark">
</p>
<input type="submit">
</form>
</body>
</html>