html表格的例子
2016-05-18 17:48
555 查看
<html>
<head>
<title>表格的例子</title>
</head>
<body>
<table border="5px" bordercolor="blue" bgcolor="yellow" width="60%" height="30%" style="border-left:none;border-top:none;border-right:none;border-bottom:none;">
<tr valign="top" height="40%" bgcolor="pink" bordercolor="grey">
<th rowspan="2">姓名</th>
<th>性别</th>
<th colspan="2">年龄</th>
</tr>
<tr align="center">
<td>男</td>
<td>20</td>
<td>60</td>
</tr>
<tr>
<td align="center" valign="top" width="400px" height="100px" bgcolor="green">李四</td>
<td>女</td>
<td>26</td>
<td>70</td>
</tr>
</table>
</body>
</html>
<head>
<title>表格的例子</title>
</head>
<body>
<table border="5px" bordercolor="blue" bgcolor="yellow" width="60%" height="30%" style="border-left:none;border-top:none;border-right:none;border-bottom:none;">
<tr valign="top" height="40%" bgcolor="pink" bordercolor="grey">
<th rowspan="2">姓名</th>
<th>性别</th>
<th colspan="2">年龄</th>
</tr>
<tr align="center">
<td>男</td>
<td>20</td>
<td>60</td>
</tr>
<tr>
<td align="center" valign="top" width="400px" height="100px" bgcolor="green">李四</td>
<td>女</td>
<td>26</td>
<td>70</td>
</tr>
</table>
</body>
</html>
相关文章推荐
- HTML中的列表
- html 发送短信并且带编辑好的内容
- Chapter 1. HTML---标签、表格
- Intellij idea liveTemplate,方法,类,Html 自定义注释
- HTML meta标签详解
- [Repost]Custom Elements defining new elements in HTML
- HTML img.src图片不存在,则显示另一张图片
- html常用标签
- taglib-html:浏览器会自动解析
- HTML中让边框变成圆形并且带有阴影
- HTML、XHTML XML和DHTML的区别
- MVC HtmlHelper用法大全
- html中让背景完全填充容器
- XML与 HTML
- C#去掉HTML标记
- htmlcleaner 使用示例.
- html书签文件去重
- Make Notepad++ auto close HTML/XML tags after the slash(the Dreamweaver way)
- XHTML介绍
- HTML输入框,下拉框只读