The HTML scrolling attribute
Example
A frame that always displays a scrollbar:
Try it »
Browser support





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 tag