Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML frame scrolling Attribute

The HTML scrolling attribute

HTML frame Tag Reference HTML Tag

Example

A frame that always displays a scrollbar:

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 8 and earlier, Firefox, and Opera all support the scrolling attribute.

**Note:** Internet Explorer 9 and later no longer support the scrolling attribute.


Definition and Usage

HTML5 does not support the tag.

The scrolling attribute specifies whether to display a scrollbar in the frame.

By default, if the content is larger than the frame, a scrollbar will appear in the frame.


Syntax

Attribute values

Value Description
auto Display a scrollbar when needed (default).
yes Always display a scrollbar (even if not needed).
no Never display a scrollbar (even if needed).

HTML frame Tag Reference HTML tag