HTML frame frameborder Attribute

Definition and Usage

The frameborder attribute specifies whether or not to show the border between two frames.

Syntax

<frame frameborder="1|0">

Syntax Example

<frame frameborder="0">

Attribute Values

Value Description
1 Default. Frame border is shown.
0 Frame border is not shown.Note: To remove the border between two frames, both frames must have the frameborder attribute set to "0".


Browser Support

The attribute is supported in all major browsers.

Example

<html>
<frameset cols="50%,50%">
<frame src="frame_a.htm" frameborder="0" />
<frame src="frame_b.htm" frameborder="0" />
</frameset>
</html>
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved