表格示例
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <table border="1"> <tr> <td>主机</td> <td>端口</td> <td>ip</td> </tr> <tr> <td>65</td> <td>21</td> <td>1244</td> </tr> <tr> <td> <a href="http://www.cnblogs.com/wupeiqi/tag/Python/">查看详情</a> </td> <td>21</td> <td>1244</td> </tr> </table> <table border="1"> <thead> <tr> <th>q</th> <th>w</th> <th>e</th> <th>r</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>12</td> <td>123</td> <td>1234</td> </tr> <tr> <td rowspan="2">1</td> <td colspan="2">13</td> <td>135</td> </tr> <tr> <td>13</td> <td>135</td> <td>1355</td> </tr> <tr> <td>1</td> <td>13</td> <td>135</td> <td>1355</td> </tr> </tbody> </table> <label for="username">用户名:</label> <input id="username" type="text" name="user" /> </body> </html>
主机 | 端口 | ip |
65 | 21 | 1244 |
查看详情 | 21 | 1244 |
q | w | e | r |
---|---|---|---|
1 | 12 | 123 | 1234 |
1 | 13 | 135 | |
13 | 135 | 1355 | |
1 | 13 | 135 | 1355 |