HTML frame scrolling Attribute

Definition and Usage

The scrolling attribute specifies the scrollbar rules for the frame.
By default, scrollbars appear if the frame content is larger than the frame.


<frame scrolling="scrolling" />

Syntax Example

<frame scrolling="yes" />

Attribute Values

Value Description
auto Default. Scrollbars appear if needed.
yes Scrollbars are always shown, even if they are not needed.
no Scrollbars are never shown, even if they are needed.

Browser Support

The attribute is supported in all major browsers.


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