HTML可以通过为表格添加border属性来添加边框。推荐学习:html教程
示例:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
效果图:
border 简写属性在一个声明设置所有的边框属性。
可以按顺序设置如下属性:
border-width:规定边框的宽度。
border-style:规定边框的样式。
border-color:规定边框的颜色。
Atas ialah kandungan terperinci html表格边框. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!