Blogger Information
Blog 26
fans 0
comment 1
visits 20494
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3月19日作业
木易阳的博客
Original
759 people have browsed it

3月19日作业

实例

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>php中文网3月19日作业</title>
</head>
<body>
				
		<form action="" method="post">
		<table border="0" cellspacing="0" cellpadding="8" align="center" width="400" bgcolor="powderblue">
			<caption><h2>用户注册</h2></caption>	
			<tr><td colspan="2"><hr></td></tr>  <!-- 条分隔线 -->
			<tr align="center">
				<td align="right" width="60"><label for="name">电话:</label></td>
				<td align="left" width="300"><input type="text" id="name" name="name" value="" placeholder="18363669057" size="30" width="200"></td>
			</tr>

			<tr align="center">
				<td align="right"><label for="password">密码:</label></td>
				<td align="left"><input type="text" id="password" name="name" value="" placeholder="字母+数字不少于8位" size="30"></td>
			</tr>
			
			<tr align="center">  
				<td align="right">性别:</td> 
				<td align="left">
					<input type="radio"  name="sex" value="male">男
					<input type="radio"  name="sex" value="female">女
					<input type="radio"  name="sex" value="secret" checked="">保密
				</td>
			</tr>

			<tr align="center">
				<td align="right">爱好:</td>  
				<td align="left">
					<input type="checkbox" name="happy[]" value="球类">球类
					<input type="checkbox" name="happy[]" value="画画">画画
					<input type="checkbox" name="happy[]" value="跑步">跑步
					<input type="checkbox" name="happy[]" value="舞蹈" checked="">舞蹈
					<input type="checkbox" name="happy[]" value="美食" checked="">美食
					<input type="checkbox" name="happy[]" value="其他" checked="">其他
				</td>
			</tr>

		
			<tr align="center">
				<td align="right"><label for="level">工作:</label></td>
				<td align="left">
					<select name="level" id="level">
						<option value="">it</option>
						<option value="" selected="">职员</option>
						<option value="">教师</option>
						<option value="">医生</option>
						<option value="">销售</option>
						<option value="">其他</option>
					</select>
				</td>
			</tr>
			
			<tr align="center">
				<td align="right"><label for="photo">头像:</label></td>
				<td align="left">
					<img src="./images/tx.jpg" height="30">
					<input type="file" id="" name="photo" accept="image/*">
				</td>
			</tr>

			<tr align="center">
				<td valign="middle" align="right"><label>座右铭:</label></td>
				<td align="left"><textarea name="comment" id="comment" rows="5" cols="40" placeholder="php是最美的语言!!"></textarea></td>
			</tr>
			
			<tr>
				<td colspan="2" align="center">
					<hr>
					<input type="submit" name="submit" value="提交">
					    
					<input type="reset" name="reset" value="重填">
				</td>
			</tr>

		</table>
		</form>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

手写代码照片

微信图片_20180321084710.jpg微信图片_20180321084651.jpg


Correction status:qualified

Teacher's comments:作业已检查! 手写代码未提交!请及时提交!
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post