博客列表 >2018/3/19作业(表单制作)

2018/3/19作业(表单制作)

梁凯达的博客
梁凯达的博客原创
2018年03月21日 22:48:50798浏览

实例

<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>表单作业</title>
		<style type="text/css">
			table {
				width: 550px;
				height: 600px;
				margin: 200px auto;
				background: lightskyblue;
				padding: 40px;
			}
			
			.td1 {
				width: 120px;
				text-align: left;
			}
			
			.td2 {
				width: 330px;
			}
			
			caption {
				font-weight: bold;
				line-height: 80px;
				text-align: center
			}
			
		</style>
	</head>

	<body>
		<form  action="ruanwenyun.cn" method="post">
			<table cellpadding="5" cellspacing="0">
				<caption>软文网站编辑注册界面</caption>
				<tr>
					<td colspan="2" style="height: 35px;">
						<hr style="width: 95%;">
					</td>
				</tr>
				<tr>
					<td class="td1"><label for="name">用户名:</label></td>
					<td class="td2">
						<input type="text" id="name" value="" placeholder="不能输入中文字符">
					</td>
				</tr>
				<tr>
					<td class="td1"><label for="password">密码:</label></td>
					<td class="td2">
						<input type="password" id="password" value="" placeholder="密码不能少于8位字符">
					</td>
				</tr>
				<tr>
					<td class="td1"><label for="password">行业年限:</label></td>
					<td class="td2">
						<input type="radio" name="radio1" value="" checked="">1年
						<input type="radio" name="radio1" value=""> 2年
						<input type="radio" name="radio1" value="">3年
						<input type="radio" name="radio1" value="">3年以上
					</td>
				</tr>
				<tr>
					<td class="td1"><label for="password">擅长(多选):</label></td>
					<td class="td2">
						<input type="checkbox" name="" value="" checked="">娱乐类
						<input type="checkbox" name="" value="">体育类
						<input type="checkbox" name="" value="">报道类
						<input type="checkbox" name="" value="">医疗类
					</td>
				</tr>
				<tr>
					<td class="td1">稿费要求:</td>
					<td class="td2">
						<select size="1" style="width: 80px;">
							<option>100元</option>
							<option>150元</option>
							<option>200元</option>
							<option>250元</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="td1"><label for="logo">案例上传:</label></td>
					<td class="td2" align="left">
						<img src="INT1I_QA4Q`$NWFS_ULUOEQ.png" height="30px">

						<input type="file" name="logo" value="点击上传">
					</td>
				</tr>
				<tr>
					<td class="td1">入驻宣言:</td>
					<td class="td2">
						<textarea style="width: 300px;height: 80px;" placeholder="文明上网,理性发言"></textarea>
					</td>
				</tr>
				<tr>
					<td colspan="2"align="center">
						<hr>
						<input type="submit"name="submit"id=""value="提交"style="margin-right: 40px;">
						<input type="reset" name="reset" id=""value="取消">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

运行实例 »

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


上一条:3月20日作业下一条:第四天
声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议