<!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>
<form action="test.html">
用户名:<input type="text" readonly name="username" value="zhangsan" /><br />
密码:<input type="password" name="password" /><br />
角色:
<label> 管理员:<input type="radio" name="role" value="admin" /> </label>
<label for="customer">顾客:</label>
<input type="radio" name="role" value="customer" id="customer" />
员工:<input type="radio" checked name="role" value="employee" id="" />
<br />
爱好: 足球:<input type="checkbox" name="hobbies" value="football" />
篮球:<input type="checkbox" name="hobbies" value="basketball" checked />
唱歌:<input type="checkbox" name="hobbies" value="sing" />
城市:
<select name="city" multiple>
<optgroup label="一线城市" disabled>
<option value="beijing">北京</option>
<option value="shanghai">上海</option>
<option value="taiyuan">太原</option>
</optgroup>
<optgroup label="二线城市">
<option value="xian">西安</option>
<option value="suzhou" selected>苏州</option>
<option value="hangzhou">杭州</option>
</optgroup>
</select><br>
<input type="button" value="点击我">
<input width="150px" type="image" src="../音视频/ad7.jpeg" alt="">
<input type="hidden" name="token" value="123token">
<input type="reset" value="重置">
<input type="submit" value="提交">
</form>
</body>
</html>