首页 > Web开发 > 详细

html表格相关

时间:2014-03-30 14:40:41      阅读:997      评论:0      收藏:0      [点我收藏+]

bubuko.com,布布扣

 

bubuko.com,布布扣
<html>
<head>
<style type="text/css">
thead {color:green}
tbody {color:blue;height:50px}
tfoot {color:red}
</style>
</head>
<body>

<table border="1">
  <caption>我的表格</caption>
  <details>
     <summery>more details</summery>
     这是一个统计电子商务网站的一个表格
  </details>
  <thead>
    <tr>
      <th>国家</th>
      <th>网站名</th>
      <th>URL </th>
      <th>Alexa排名</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>中国</td>
      <td>淘宝网</td>
      <td>www.taobao.com</td>
      <td>38</td>
      
    </tr>
    <tr>
      <td>美国</td>
      <td>Ebay</td>
      <td>www.Ebay.com</td>
      <td>22</td>
    </tr>

   <tr>
      <td>美国</td>
      <td>Amazon</td>
      <td>www.Amazon.com</td>
      <td>27</td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td>  </td>
      <td>  </td>
      <td>  </td>
      <td> Alexa.com提供信息 </td>
    </tr>
  </tfoot>
</table>

</body>
</html>
bubuko.com,布布扣

html表格相关,布布扣,bubuko.com

html表格相关

原文:http://www.cnblogs.com/skylar/p/3633555.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!