html--給表格table新增邊框
阿新 • • 發佈:2020-12-30
技術標籤:html
1、這樣似的
table border=“1”
<html> <body> <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table> </body> </html>
2、這樣似的
table border=“1” cellspacing=“0”
<html> <body> <table border="1" cellspacing="0"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table> </body> </html>`