Easy Tutorial
❮ Prop Text Maxlength Prop Win Opener ❯

Frame/IFrame scrolling Attribute


Definition and Usage

The scrolling attribute sets or returns the value of the scrolling attribute in frame/iframe elements.

The scrolling attribute specifies whether scrollbars are displayed in the frame/iframe.

The scrolling attribute can have the following values:

Value Description
auto Scrollbars are displayed automatically based on the document's dimensions (default).
yes Scrollbars are always displayed.
no Scrollbars are never displayed.

Browser Support

All major browsers support the scrolling attribute.


Example

Return and set the value of the scrolling attribute:

❮ Prop Text Maxlength Prop Win Opener ❯