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