表单作业

表单作业


<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			.content{
				position: absolute;
				left: 50%;
				top: 50%;
				transform: translate3d(-50%,-50%,0);
				
			}
			table{
				width: 100%;
				border-collapse:collapse ;
			}
			th,td{
				border: 1px solid black;
			}
			span{
				margin: 0 5px 0 10px;
				display: inline-block;
				width: 10px;
				height: 10px;
				background: #fff; 
			}
			.content-th{
				text-align: left;
				height: 50px;
				background: #000;
				color: #FFF;
			}
			.content-td1{
				width: 210px;
				padding: 8px;
				border-bottom:2px dashed gray;
				border-right:2px dashed gray;
			}
			.content-td2
			{
				width: 388px;
				padding: 8px;
				border-bottom:2px dashed gray;
			}
			.content-td2 input,select{
				margin-left: 5px;
			}
			textarea{
				resize: none;
				width: 300px;
				height: 200px;
				margin-left: 5px;
				margin-top: 5px;
			}
			.content-lastTd{
				text-align: center;
				padding: 5px 0 5px 0;
				
			}
			.content-lastTd input{
				width: 50px;
			}
		</style>
	</head>
	<body>
		<div class="content">
			<form>
					<table>
						<tr class="content-th" >
							<th colspan="2"><span></span>同城网在线调查</th>
						</tr>
						<tr>
							<td class="content-td1">你从哪里知道同城的</td>
							<td class="content-td2">
								<select name="">
									<option>网上搜索</option>
									<option>朋友介绍</option>
									<option>传单</option>
									<option>报纸</option>
								</select>
							</td>
						</tr>
						<tr>
							<td class="content-td1">你正在使用的同城网服务</td>
							<td class="content-td2">
								<input type="checkbox" name="type" id="type-a" />
								<label for="type-a">原创社区</label>
								<input type="checkbox" name="type" id="type-b" />
								<label for="type-b">免费留言簿</label>
								<input type="checkbox" name="type" id="type-c" />
								<label for="type-c">免费投票</label>
							</td>
						</tr>
						<tr>
							<td class="content-td1">你希望我们提供哪些新服务</td>
							<td class="content-td2">
								<input type="checkbox" name="type" id="type-d" />
								<label for="type-d">聊天室</label>
								<input type="checkbox" name="type" id="type-e" />
								<label for="type-e">博客</label>
								<input type="checkbox" name="type" id="type-f" />
								<label for="type-f">游戏系统</label>
							</td>
						</tr>
						<tr>
							<td class="content-td1">你是同城的会员吗</td>
							<td class="content-td2">
								<input type="radio" name="type" id="type-h" />
								<label for="type-h"></label>
								<input type="radio" name="type" id="type-i"/>
								<label for="type-i">不是</label>
							</td>
						</tr>
						<tr>
							<td class="content-td1">你对同城网的其他意见</td>
							<td class="content-td2"><textarea name="txt2" rows="" cols=""></textarea></td>
						</tr>
						<tr >
							<td colspan="2" class="content-lastTd">
								<input type="submit" name="" id="" value="提交" />
							</td>
						</tr>
					</table>	
			</form>
		</div>
	</body>
</html>

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值