Frame/IFrame Object
The scrolling property sets or returns the value of the scrolling attribute in a frame/iframe element.
The scrolling attribute specifies whether or not to display scrollbars in a frame/iframe.
The scrolling property can have one of the following 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) |
![]()
The scrolling property is supported in all major browsers.
Return and set the value of the scrolling attribute:
Frame/IFrame Object
Your message has been sent to W3Schools.