框架的框架边框
实例
不带边框的双框架页面:
<网页>
<框架集 列宽=“50%,50%“>
<框架 资源地址=“https://www.w3school.com.cn/example/html/frame_a.html“ 框架边框=“0“ />
<框架 资源地址=“https://www.w3school.com.cn/example/html/frame_b.html“ 框架边框=“0“ />
</框架集>
</网页>
定义和用法
框架边框 属性规定是否显示框架周围的边框。
提示:出于实用性方面的原因,最好不用设置该属性,请使用 层叠样式表 来应用边框样式和颜色。
层叠样式表 实例:框架 边框
<网页>
<框架集 列宽=“50%,50%“>
<框架 资源地址=“https://www.w3school.com.cn/example/html/frame_a.html“ 样式=“边框:中等 双 红绿蓝(250,0,255)“ />
<框架 资源地址=“https://www.w3school.com.cn/example/html/frame_b.html“ />
</框架集>
</网页>
语法
<框架 框架边框="值">
属性值
| 值 | 描述 |
|---|---|
| 1 | 有边框(默认值)。 |
| 0 | 无边框。 |
浙公网安备 33010602011771号