- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a >
- .truecolor {border:1px solid #333;text-align:center;}
- .truecolor th {background-color:#333; color:#FFF;}
- .color1 {background-color:#DDD; color:#333;}
- .color2 {background-color:#EEE; color:#333;}
- .color3 {background-color:#666; color:#FFF;}
- </style>
- </head>
- <body>
- <table width="450" class="truecolor">
- <thead>
- <tr>
- <th>博客</th>
- <th>作者</th>
- <th>网址</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>风格之舞</td>
- <td>火德</td>
- <td>隔行换色</td>
- </tr>
- <tr>
- <td>赵雷的博客</td>
- <td>赵雷</td>
- <td>新浪微博</td>
- </tr>
- <tr>
- <td>寂寞广场</td>
- <td>魏春亮</td>
- <td>同学录</td>
- </tr>
- <tr>
- <td>淘宝UED</td>
- <td>淘宝</td>
- <td>经常购物</td>
- </tr>
- </tbody>
- </table>
- </body>
- </html>
- //该片段来自于http://www.codesnippet.cn/detail/130520133287.html
来源: http://www.codesnippet.cn/detail/130520133287.html