HTML中table边框的显示总结

一、
1、显示表格的4个边框:<table border frame=box>
2、只显示上边框: <table border frame=above>
3、只显示下边框: <table border frame=below>
4、只显示上下边框: <table border frame=hsides>
5、只显示左右边框: <table border frame=vsides>
6、只显示左边框: <table border frame=lhs>
7、只显示右边框: <table border frame=rhs>
8、不显示任何边框: <table border frame=void>

二、
1、只显示列与列之间的分隔线:<table rules=cols>
2、只显示行与行之间的分隔线:<table rules=rows>
3、不显示任何分隔线: <table rules=none> (只显示四个边框)
4、显示所有分隔线: <table rules=all>

但是还要提醒的是,nc不支持这些表格属性!
原文地址:https://www.cnblogs.com/wxmdevelop/p/4450455.html