table的属性
border | pixcels | 规定表格边框的宽度 |
---|---|---|
cellpadding | picels/% | 规定单元格边沿与内容之间的空白 |
cellspacing | picels/% | 规定表格以及单元格之间的空白 |
表格的标题:caption表格的边框:使用<table><table border='1px' cellpadding='10' cellspacing='0' rules='groups'><caption>我的标题</caption> ??<tr><td>100000</td><td>200</td><td>300</td></tr> ??<tr><td>400</td><td>500</td><td>600</td></tr></table>
<style>table{ border-color:red }tr td{ border: solid 1px red;}</style>
html <table>标签信息
原文地址:https://www.cnblogs.com/ssgao/p/8868370.html