Easy Tutorial
❮ Canvas Createimagedata Canvas Filltext ❯

HTML <iframe> scrolling Attribute

HTML <iframe> Tag

Example

An <iframe> with scrollbars:


Browser Support

All major browsers support the scrolling attribute.


Definition and Usage

The scrolling attribute specifies whether scrollbars should be displayed in an <iframe>.

By default, if the content exceeds the size of the <iframe>, scrollbars will appear.


Syntax

Attribute Values

Value Description
auto Scrollbars appear if needed (default).
yes Scrollbars are always shown (even if not needed).
no Scrollbars are never shown (even if needed).
❮ Canvas Createimagedata Canvas Filltext ❯