HTML iframe scrolling Attribute
HTML <iframe> tag
Definition and Usage
The scrolling attribute specifies the scrollbar rules for the iframe.
By default, scrollbars appear if the iframe content is larger than the iframe.
Syntax
<iframe scrolling="scrollbars">
|
Syntax Example
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
Source |
Output |
<iframe src="demo_iframe.htm"
scrolling="yes"></iframe>
|
|
Try-It-Yourself Demos
iframe
scrolling attribute example
Set the scrollbar rules of the iframe.
HTML <iframe> tag
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|