WEB前端Day2

 

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<form action="#" method="get" enctype="text/plain">
		<table width="200px" height="250px" border="1px" cellspacing="1" cellpadding="1" align="center">
			<thead style="background-color: darkgrey;">
			<tr align="center" style="background-color: darkgrey;">
				<td colspan="2" wid><b>用户注册</b></td>
			</tr>
			</thead>
			<tbody style="background-color:lightgray;">
			<tr>
				<td width="80" height="40px">用户名</td>
				<td><input type="text" name="username" maxlength="6" placeholder="请输入用户名"/></td>
			</tr>
			<tr>
				<td width="80" height="40px">&nbsp;&nbsp;密码</td>
				<td><input type="password" name="password" maxlength="16"/></td>
			</tr>
			<tr>
				<td width="80" height="40px">&nbsp;&nbsp;性别</td>
				<td><input type="radio" name="sex" value="male"/>男
					<input type="radio" name="sex" value="female"/>女
					<input type="radio" name="sex" value="transgender" checked/>跨性别
				</td>
			</tr>
			<tr>
				<td width="80" height="40px">&nbsp;&nbsp;爱好</td>
				<td>
					<input type="checkbox" name="fav" value="write">写作
					<input type="checkbox" name="fav" value="music">听音乐
					<input type="checkbox" name="fav" value="sport">体育
					
				</td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;省份</td>
				<td><select name="省份" multiple="multiple">
						<option value="省份" selected>陕西省</option>
						<option value="省份">广东省</option>
						<option value="省份">福建省</option>
						<option value="省份">安徽省</option>
						<option value="省份">山西省</option>
				
				
				</select></td>
			</tr>
			<tr>
				<td>自我介绍</td>
				<td><input type="text" name="自我介绍" placeholder="请输入自我介绍"/></td>
			</tr>
			<tr align="center" style="background-color: darkgrey;">
				<td colspan="2"><input type="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset"/></td>
			</tr>
		</table>
	</form>
	</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值