https://www.cnblogs.com/leona-d/p/6125896.html
一、 <table border="1"> 表格边框
如图:,也就是border=1,意思就是给表格的每一格,及边框加上1像素的边框
二、 <table border="1" cellspacing="0"> cellspacing单元格间距
如图:这时表格大小为:200*118px
cellspacing 属性用来指定每个单元格之间的距离
三、<table border="1" cellspacing="0" cellpadding="0"> cellpadding单元格边距
如图: 这时表格大小为:200*110px
cellpadding 属性用来指定单元格内容与单元格边界之间的空白距离的大小