<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1><center>
用户注册
</center>
</h1>
<form action="#">
<center>
用户名<input type="text">
<br>
<pre>
<input type="text" placeholder="zhangsan" disabled>
</pre>
<br><br>
密 码
<input type="text"><br><br>
性别
<input type="radio" name="a" checked>男
<input type="radio" name="a">女
<br><br>
爱好
<input type="checkbox" name="b">唱
<input type="checkbox" name="b">跳
<input type="checkbox" name="b">Rap
<input type="checkbox" name="b">打篮球
<br><br>
邮箱
<input type="text" placeholder="请输入你的邮箱">
<br><br>
用户头像
<button>选择文件</button>
未选择文件
<br><br>
家庭住址
<select>
<option value="" disabled selected hidden>请输入你的地址</option>
<option>南京</option>
<option>上海</option>
<option>北京</option>
</select>
<br><br>
收货地址
<select multiple>
<option>广州</option>
<option>深圳</option>
<option>重庆</option>
<option>南京</option>
</select>
<br><br>
建议或意见
<textarea name="" id="" cols="30" rows="2" placeholder="你的建议或意见"></textarea>
<br><br>
选择你喜欢的颜色
<input type="color">
注册时间
<input type="datetime-local">
<br><br>
<button>注册</button>
<button>重置</button>
</center>
</form>
</body>
</html>
作业4..
最新推荐文章于 2024-09-16 08:47:17 发布