X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <frame> frameborder Attribute

HTML frame Tag Reference HTML <frame> tag

Example

A two-framed page, with no frameborders:

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

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The frameborder attribute is supported in all major browsers.


Definition and Usage

The <frame> tag is not supported in HTML5.

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

Tip: For practical reasons, it may be better not to specify borders, and use CSS to apply border styles and color instead.

CSS Example: frame borders


Syntax

<frame frameborder="1|0">

Attribute Values

Value Description
1 Border on (this is default)
0 Border off


HTML frame Tag Reference HTML <frame> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook