html 的第一天 (3)表单的学习

<html>
	<head>
		<title>表单的学习</title>
	</head>
	<body>
		<h1 align="left">用户注册信息<h1>
			<table border=1>
				<tr>
					<td align="right">用户名</td>
					<td cellpadding=0">
						<form>
							<input type="text" value="admire">
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">密码</td>
					<td>
						<form>
							<input type="password">
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">确认密码</td>
					<td>
						<form>
							<input type="password">
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">性别:</td>
					<td>
						<form>
							<input type="radio" name="性别" value="男" checked="checked">男
							<input type="radio" name="性别" value="女" checked="checked">女
							<input type="radio" name="性别" value="保密" checked="checked">保密
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">爱好:</td>
					<td>
						<form>
							<input type="checkbox" name="爱好:" value="运动" checked="checked">运动
							<input type="checkbox" name="爱好:" value="睡觉" checked="checked">睡觉
							<input type="checkbox" name="爱好" value="唱歌" checked="checked">唱歌
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">头像:</td>
					<td>
						<form>
							<input type="file" name="image">
							
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">学历:</td>
					<td>
						<form>
							<select name="学历" size=1 multiple="multiple">
								<option value="大专" selected="selected">大专</option>
								<option value="本科" selected="selected">本科</option>
								<option value="研究生" selected="selected">研究生</option>
							</select>
						</form>
					</td>
				</tr>
				<tr>
					<td align="right">我的简介:</td>
					<td>
						<form>
							<textarea name="introduce" cols=30 rows=6>这是你的我的简历</textarea>
						</form>
					</td>
				</tr>
				<tr align="center">
					<td>
					</td>
					<td>
						<form>
							<input type="reset" name="reset" value="重填"/>
							<input type="submit" name="sbt" value="提交"/>
							<input type="button" name="cc" value="取消"/>
						</form>
					</td>
				</tr>
			</table>
	</body>
</html>

 

相关文章
相关标签/搜索