HTML <frame> frameborderAttribute
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>
<frame src="frame_a.htm.html" frameborder="0">
<frame src="frame_b.htm.html" frameborder="0">
</frameset>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
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。
Syntax
<frame frameborder="1|0">
Attribute Values
| Value | Description |
|---|---|
| 1 | With border (default). |
| 0 | Without border. |
HTML <frame> Tag Other Extensions