HTML <frame> scrollingAttribute
Examples
A frame that always displays scrollbars:
<frameset cols="50%,50%">
<frame src="frame_a.htm.html" scrolling="yes">
<frame src="frame_b.htm.html">
</frameset>
<frame src="frame_a.htm.html" scrolling="yes">
<frame src="frame_b.htm.html">
</frameset>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
Internet Explorer 8 and earlier versions, Firefox, and Opera support the scrolling attribute.
Note:Internet Explorer 9 and later versions no longer support the scrolling attribute.
Definition and Usage
HTML5 does not support the <frame> tag.
The scrolling attribute specifies whether to display scrollbars in the <frame>.
By default, if the content is larger than the <frame>, scrollbars will appear in the <frame>.
Syntax
<frame scrolling="auto|yes|no">
Attribute Values
| Value | Description |
|---|---|
| auto | Display scrollbars when needed (default). |
| yes | Always display scrollbars (even when not needed). |
| no | Never display scrollbars (even when needed). |
HTML <frame> Tag Other Extensions