X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET 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 »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The scrolling attribute is supported in Internet Explorer 8 and earlier versions, Firefox, and Opera.

Note: Internet Explorer 9 and newer versions, do not support the scrolling attribute.


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>.


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 FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook