HTML frame scrolling Attribute
HTML <frame> tag
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.
Syntax
<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.
Example
<html>
<frameset cols="50%,50%">
<frame src="frame_a.htm" scrolling="no" />
<frame src="frame_b.htm" scrolling="yes" />
</frameset>
</html>
|
Try-It-Yourself Demos
frame
scrolling attribute example
Specify the scrollbar rules for the frames.
HTML <frame> tag
…
|