2022-06-20 648
HTML <table> frame 属性
实例
只显示围绕表格的外侧边框:
<table frame="box"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table>
注意:Internet Explorer 8 及之前的版本不支持 <table> 标签的 frame 属性。
定义和用法
HTML5 不支持 <table> frame 属性。请使用 CSS 代替。
frame 属性规定外侧表格边框的哪个部分是可见的。
提示:从实用角度出发,最好不要规定 frame,而是使用 CSS 来添加 borders(边框样式)。
语法
<table frame="value">
属性值
值 | 描述 |
void | 不显示外侧边框。 |
above | 显示上部的外侧边框。 |
below | 显示下部的外侧边框。 |
hsides | 显示上部和下部的外侧边框。 |
vsides | 显示左边和右边的外侧边框。 |
lhs | 显示左边的外侧边框。 |
rhs | 显示右边的外侧边框。 |
box | 在所有四个边上显示外侧边框。 |
border | 在所有四个边上显示外侧边框。 |
原文链接:https://77isp.com/post/1390.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态