HTML表格元素
来源:互联网 发布:手机淘宝开店怎么上架 编辑:程序博客网 时间:2024/04/28 12:15
<!DOCTYPE HTML>
<html>
<head>
<title>EXample</title>
<meta charset="utf-8">
</head>
<style type="text/css">
#colgroup1{background-color: red;}
#col3{background-color: green;}
</style>
<body>
<table border="1">
<caption>Results of the 2011 Fruits Survey</caption>
<colgroup id="colgroup1">
<col id="col1And2" span="2">
<col id="col3" >
</colgroup>
<colgroup id="colgroup2" span="2"/>
<thead>
<tr>
<th>Rank</th><th>Name</th><th>Color</th>
<th colspan="2">Size & Votes</th>
</tr>
</thead>
<tbody>
<tr>
<th>Favorite:</th><td>Apples</td><td>Green</td>
<td>Medium</td><td>500</td>
</tr>
<tr>
<th>2nd Favorite:</th><td>Oranges</td><td>Orange</td>
<td>Large</td><td>450</td>
</tr>
<tr>
<th>3rd Favorite:</th><td>Pomegranate</td><td colspan="2" rowspan="2">Pomegranates and cherries can both come in a range of colors and sizes.</td><td>203</td>
</tr>
<tr>
<th rowspan="2">Joint 4th:</th><td>Cherries</td><td rowspan="2">75</td>
</tr>
<tr>
<td>Pineapple</td><td>Brown</td><td>Very Large</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="5">& copy;2011 Adam Freeman Fruit Data Enterprises</th>
</tr>
</tfoot>
</table>
</body>
</html>
<html>
<head>
<title>EXample</title>
<meta charset="utf-8">
</head>
<style type="text/css">
#colgroup1{background-color: red;}
#col3{background-color: green;}
</style>
<body>
<table border="1">
<caption>Results of the 2011 Fruits Survey</caption>
<colgroup id="colgroup1">
<col id="col1And2" span="2">
<col id="col3" >
</colgroup>
<colgroup id="colgroup2" span="2"/>
<thead>
<tr>
<th>Rank</th><th>Name</th><th>Color</th>
<th colspan="2">Size & Votes</th>
</tr>
</thead>
<tbody>
<tr>
<th>Favorite:</th><td>Apples</td><td>Green</td>
<td>Medium</td><td>500</td>
</tr>
<tr>
<th>2nd Favorite:</th><td>Oranges</td><td>Orange</td>
<td>Large</td><td>450</td>
</tr>
<tr>
<th>3rd Favorite:</th><td>Pomegranate</td><td colspan="2" rowspan="2">Pomegranates and cherries can both come in a range of colors and sizes.</td><td>203</td>
</tr>
<tr>
<th rowspan="2">Joint 4th:</th><td>Cherries</td><td rowspan="2">75</td>
</tr>
<tr>
<td>Pineapple</td><td>Brown</td><td>Very Large</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="5">& copy;2011 Adam Freeman Fruit Data Enterprises</th>
</tr>
</tfoot>
</table>
</body>
</html>
0 0
- Html的表格元素
- HTML表格元素
- html中的表格元素
- HTML 表格元素
- html 的表格元素总结
- html入门(表格元素)
- html常用元素之表格元素
- HTML笔记(HTML元素-表格与列表)
- 如何动态隐藏表格 javascript 控制 html元素 显示/隐藏
- html基础知识点系列1--表格及其相关元素
- 服务器端表格控件嵌套HTML元素获取解决方案
- HTML之表格子元素选择器table>tr>td
- 运用jQuery动态向html中添加表格元素
- 表格元素
- 记不住就存下来---- HTML 5 表格相关元素&框架相关元素
- html 表格
- HTML 表格
- HTML表格
- PAT-1023
- OnPreferenceChangeListener与OnPreferenceClickListener的分析
- 05:吃糖果
- 面向对象
- 题目1033:继续xxx定律
- HTML表格元素
- JAVA实现对整数的质因数分解
- JAVA获取WEB项目下的WEB-INF目录
- linux下安装mysql数据库
- Python Note
- 数据库
- SpringBoot之集成Spring AOP
- php与mysql程序设计第四版第六章:基本的oop(简易笔记)(完)
- c++函数对象构造函数和operator()执行关系