HTML <frame> frameborderAttribute

HTML frame 标签参考手册HTML <frame> Tag

Example

A double-frame page without borders:

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

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the frameborder attribute.


Definition and Usage

HTML5 does not support the <frame> tag.

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

Tip:For practical reasons, it is best not to set this attribute; please use CSS to applyborder styles and colors。

CSS Example: Frame Borders


Syntax

<frame frameborder="1|0">

Attribute Values

Value Description
1 With border (default).
0 Without border.


HTML frame 标签参考手册HTML <frame> Tag Other Extensions