Latest web development tutorials

HTML frame frameborder Attribute

HTML frame Tag Reference HTML <frame> tag

Examples

Double frame without borders page:

<frameset cols="50%,50%">
<frame src="frame_a.htm" frameborder="0">
<frame src="frame_b.htm" frameborder="0">
</frameset>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the frameborder attribute.


Definition and Usage

HTML5 does not support the <frame> tag.

frameborder attribute specifies whether to display a border around the frame.

Tip: For reasons of practicality, it is best not to set this property, use CSS to apply border style and color .

CSS Example: frame borders


grammar

<frame frameborder="1|0">

Property Value

描述
1 有边框(默认)。
0 无边框。


HTML frame Tag Reference HTML <frame> tag