X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <frame> scrolling Attribute

HTML frame Tag Reference HTML <frame> tag

Example

Frame A should always have scrollbars:

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

Try it Yourself »

Definition and Usage

The <frame> tag is not supported in HTML5.

The scrolling attribute specifies whether or not to display scrollbars in a <frame>.

By default, scrollbars appear in a <frame> if the content is larger than the <frame>.


Browser Support

Attribute
scrolling Not supported Not supported Yes Not supported Not supported

Note: Internet Explorer 8 (and earlier) and Opera 12 (and earlier) supports the scrolling attribute. However, support was removed in IE9 and Opera 15.


Syntax

<frame scrolling="auto|yes|no">

Attribute Values

Value Description
auto Scrollbars appear if needed (this is default)
yes Scrollbars are always shown (even if they are not needed)
no Scrollbars are never shown (even if they are needed)


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