Last active
August 29, 2015 14:04
-
-
Save paddingme/d9e60fd83f5648c61c46 to your computer and use it in GitHub Desktop.
table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <table summary="..."> | |
| <thead> | |
| <tr> | |
| <th>DATE</th> | |
| <th>IP</th> | |
| <th>PV</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>2011.3.11</td> | |
| <td>3000</td> | |
| <td>8000</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <!--如果是一个表格,那就,就不要用段落来替代,更不要用列表。除非万不得已,并且他们是可以转换的。 | |
| 另外,表格中还有一些需要注意的点: | |
| 给 <table> 添加 summary 属性,有些表格非常大,并不需要去读完整个; | |
| 添加 <tbody>,如果我没记错,如果没添加的话,浏览器会自动为你添加; | |
| 必要时使用 <col> <colgroup> 来控制表示的栏.--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment