案例:html/html5 案例     状态:可编辑再运行    进入横版
x
 
1
<html>
2
<head>
3
<style type="text/css">
4
thead {color:green}
5
tbody {color:blue;height:50px}
6
tfoot {color:red}
7
</style>
8
</head>
9
<body>
10
11
<table border="1">
12
  <thead>
13
    <tr>
14
      <th>Month</th>
15
      <th>Savings</th>
16
    </tr>
17
  </thead>
18
  <tbody>
19
    <tr>
20
      <td>January</td>
21
      <td>$100</td>
22
    </tr>
23
    <tr>
24
      <td>February</td>

 运行结果 
 北美留学生论坛