<html lang="en">
<head>
<meta charset="UTF-8">
<title>form 表单title>
<style type="text/css">
style>
head>
<body>
<form action="" method="">
<input type="text" placeholder="请输入用户名"
name="userName" value="baidu" />
<br/>
<input type="email" placeholder="请输入邮箱"
name="email"/>
<br/>
<label for="height">身高label>
<input id="height" type="text" placeholder="请输入身高"
name="height"/>
<br/>
<input type="password" placeholder="请输入密码" />
<br/>
<input type="radio" name="gender" value="男" />
<input type="radio" name="gender" value="女" />
<input type="radio" name="gender" value="保密" />
<br/>
<input type="checkbox" name="hobby" value="篮球" />
<input type="checkbox" name="hobby" value="足球" />
<input type="checkbox" name="hobby" value="网球" />
<br/>
<input type="file" multiple />
<br/>
<input type="button" value="我是一个按钮" />
<br/>
<input type="hidden" name="type" value="Mac" />
<br/>
<input type="submit" value="注册" />
<br/>
<input type="reset" value="清空" />
<br/>
<textarea>textarea>
<select>
<option>1option>
<option>2option>
<option>3option>
select>
form>
<div>测试<br/>测试div>
body>
html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表格title>
<style type="text/css">
table{
/* collapse: 合并边框 */
/* separate: 不合并 */
border-collapse: separate;
/* hide: 不合并边框的时候,让空的单元格隐藏 */
empty-cells: hide;
text-align: center;
/* vertical-align 该表表格垂直居中方式*/
/* top middle bottom */
/* inherit: 继承父级 */
vertical-align: inherit;
}
style>
head>
<body>
<table border="1" width="200" height="100"
cellspacing="1" cellpadding="10">
<tr>
<th width="450">1th>
<th width="650">2th>
tr>
<tr>
<td>3td>
<td>4td>
tr>
table>
<table border="1" width="280" height="280">
<tr>
<td rowspan="2">1td>
<td>2td>
<td>3td>
<td>4td>
tr>
<tr>
<td colspan="2">2td>
<td>4td>
tr>
<tr>
<td>1td>
<td>2td>
<td rowspan="2" colspan="2">3td>
tr>
<tr>
<td>1td>
<td>2td>
tr>
table>
body>
html>
<html>
<head>
<meta charset="{CHARSET}">
<title>3个模块title>
<style type="text/css">style>
<link rel="stylesheet" type="text/css" href="index.css"/>
head>
<body>
<div class="box">
<div class="title">
<div id="Skanning">
<div class="Skanning">搜店div>
div>
<div id="site">
<div class="site">地址div>
div>
<div id="Coupon">
<div class="Coupon">优惠券div>
div>
<div id="full">
<div class="full">全文div>
div>
<div id="video">
<div class="video">视频div>
div>
div>
<div class="indexbox">
<img src="images/标签.png" alt="标签">
<form action="">
<input type="text" placeholder="例如:荷棠鱼
坊烤鱼 或 樱花日本料理">
<input type="image" src="images/搜索.png"
alt="搜索" class="serch">
form>
<div>
金钱豹、大江南湘水之珠、德瑀楼
<br>
荷棠鱼坊烤鱼、SOHO尚都、湘味楼...
div>
div>
div>
body>
html>
.box{
margin: 20px auto;
width: 960px;
height: 115px;
border: 1px #dbdbdb solid;
border-radius: 10px;
}
.title{
margin: 0 225px;
width: 415px;
margin-top: -10px;
}
#Skanning div, #site div,#Coupon div,#full div,#video div{
width: 80px;
height: 20px;
border: 1px #f3d0c0 solid;
float: left;
background: #fdfdfd;
border-radius: 5px 5px 0 0;
margin-right: 1px;
text-align: center;
font-size: 14px;
padding-top: 5px;
}
.Skanning1, .site1, .Coupon1, .full1, .video1{
background: #d61519;
height: 21px;
color: write;
display: none;
}
#Skanning:hover .Skanning, #site:hover .site, #Coupon:hover .Coupon, #full:hover .full, #video:hover .video{
background: #d61519;
color: white;
height: 21px;
margin-top: -1px;
border: 1px #d61519 solid;
}
.indexbox{
clear: both;
border-radius: 10px;
height: 70px;
background: #d61519;
margin-top: -20px;
}
.indexbox img{
margin: -18px 0 0 30px;
float: left;
}
input{
text-indent: 1em;
margin: 20px 0 0 38px;
width: 408px;
height: 20px;
border-radius: 8px;
color: #d61519;
}
input:placeholder {
color: #000;
opacity:1;
}
.indexbox .serch{
float: left;
width: 61px;
height: 23px;
margin: -25px 0 0 460px;
}
.indexbox div{
width: 210px;
color: white;
float: right;
font-size: 12px;
margin-top: -30px;
margin-right: 25px;
}
<html lang="en">
<head>
<meta charset="UTF-8">
<title>天气预报title>
<style type="text/css">
table{
text-align: center;
}
style>
head>
<body>
<table border="1">
<tr>
<td colspan="2">日期td>
<td colspan="2">天气现象td>
<td>气温td>
<td>风向td>
<td>风力td>
tr>
<tr>
<td rowspan="2">22日星期五td>
<td>白天td>
<td>?td>
<td>晴间多云td>
<td>高温7℃td>
<td>无持续风向td>
<td>微风td>
tr>
<tr>
<td>夜间td>
<td>?td>
<td>晴td>
<td>低温-4℃td>
<td>无持续风向td>
<td>微风td>
tr>
<tr>
<td rowspan="2">23日星期六td>
<td>白天td>
<td>?td>
<td>晴td>
<td>高温9℃td>
<td>无持续风向td>
<td>微风td>
tr>
<tr>
<td>夜间td>
<td>?td>
<td>阴td>
<td>低温-2℃td>
<td>无持续风向td>
<td>微风td>
tr>
table>
body>
html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>工作目标title>
<style type="text/css">
table{
text-align: center;
}
div{
background: black;
}
.xiexian{
background: url(xiexian.png);
background-size: 100% 100%;
}
style>
head>
<body>
<table border="1">
<tr>
<td rowspan="2" width="90" class="xiexian">项目        时间td>
<td colspan="8">效益目标td>
<td colspan="2">质量目标td>
<td>服务目标td>
tr>
<tr>
<td width="90">总收入td>
<td width="90">个金收入td>
<td width="90">公司收入td>
<td width="90">信贷收入td>
<td width="90">利润td>
<td width="90">成本收入比td>
<td width="80">劳动生产率td>
<td width="90">人均贡献率td>
<td width="90">逾期金额td>
<td width="60">发案率td>
<td width="50">投诉率td>
tr>
<tr>
<td height="50">全年计划td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td rowspan="4">人均劳动生产率达到30万元td>
<td rowspan="4">人均贡献率达到 万元td>
<td>td>
<td rowspan="4">严控各类案件,确保零发案率td>
<td rowspan="4">95580自营网点客户有理由投诉为零td>
tr>
<tr>
<td height="50">截止--月份实际完成td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
tr>
<tr>
<td height="50">时间进度%td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
tr>
<tr>
<td height="50">超欠进度(绝对值)td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
<td>td>
tr>
table>
body>
html>
http://blog.csdn.net/huzongnan/article/list