Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML frame frameborder Attribute

The HTML frameborder attribute

HTML frame Tag Reference HTML Tag

Example

A two-frame page without borders:

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the frameborder attribute.


Definition and Usage

HTML5 does not support the tag.

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

**Tip:** For practical reasons, it is best not to set this attribute; use CSS to apply border styles and colors.

CSS example: frame borders


Syntax

Attribute values

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

HTML frame Tag Reference HTML tag