web前端基础练习(用户注册)

1.用户注册

DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>title>
	head>
	<body>
		<form action="#" method="get">
			<table border="1" width="500" height="700"> 
			<thead>
				<tr align="center">
					<td colspan="2" bgcolor="#ccc">用户注册td>
				tr>
				<tr align="left">
					<td bgcolor="#ddd">用户名td>
					<td bgcolor="#ddd"><input type="text" name="name">td>
				tr>
				<tr>
					<td bgcolor="#ddd">密码td>
					<td bgcolor="#ddd">td>
				tr>
				<tr>
					<td bgcolor="#ddd">性别td>
					<td bgcolor="#ddd">
						<input type="radio" name="sex" value="man" /><input type="radio" name="sex" value="woman" />td>
				tr>
				<tr>
					<td>爱好td>
					<td>
						<input type="checkbox" name="write" />写作
						<input type="checkbox" name="music" />音乐
						<input type="checkbox" name="gym" />体育
						<input type="checkbox" name="play" />游戏						
					td>
				tr>
				<tr>
					<td bgcolor="#ddd">省份td>
					<td>
						<select name="province" id="">
						<option>广东option>
						<option>北京option>
						<option>福建option>
						<option>陕西option>
						select>
						
					td>
				tr>
				<tr align="left">
					<td bgcolor="#ddd">自我介绍td>
					<td bgcolor="#ddd">
						<textarea name="myself" id="myself" cols="30" rows="10">textarea>
					td>
				tr>
				<tr align="center" bgcolor="#ddd">
					<td bgcolor="#ddd" colspan="2">
						<input type="submit" />
						<input type="reset" />
						
					td>
				tr>
			thead>
			
			
			
			table>
			
			
			
			
		form>
		
		
		
	body>
html>

web前端基础练习(用户注册)_第1张图片

你可能感兴趣的:(html)