用HTML写一个简单的注册页面

<!DOCTYPE html>
<html>
	<head>
		<title>练习4</title>
		<meta charset="UTF-8"/>
	</head>
	<body>
	<table border="1">
	<tr>
		<th>用户名</th>
		<td><form><input type="text" name="username"/></form></td>
	</tr>
	<tr>
		<th>密码</th>
		<td><form><input type="password" name="pwd"/></form></td>
	</tr>
	<tr>
		<th>性别</th>
		<td><form><input type="radio" name="xb"value="0"/><input type="radio" name="xb"value="1"/></form></td>
	</tr>
	<tr>
		<th>从事行业</th>
		<td><form><select name="sc" size="1"/>
				<option value="0" selected="selected">计算机</option>
				<option value="1">其他</option>
			</select>
			</form></td>
	</tr>
	<tr>
		<th>自我介绍</th>
		<td><form>自我介绍:<br><textarea name="zhaoshui"cols="30"row="60"></textarea></form></td>
	</tr>
	<tr>
		<th><button>注册</button></th>
		<td><button>清除</button></td>
	</tr>
	</table>
	</body>
</html>

结果:
在这里插入图片描述
看完点个赞!!!

原创文章 16 获赞 21 访问量 1548

猜你喜欢

转载自blog.csdn.net/The_Handsome_Sir/article/details/105808584