HTML CSS Reference/HTML Attributes Reference/scroll
"scroll" Example
<HTML>
<head><Title>Example For scroll</Title></head>
<body id="myBody">
<button onclick="myBody.scroll="yes"">Scroll bars do appear</button>
<button onclick="myBody.scroll="no"">Scroll bars do not appear</button>
<button onclick="myBody.scroll="auto"">Scroll = auto</button>
</body>
</HTML>
scroll is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<body> <html> (IE6 only) |
+----------------+--------------------------------------------------------------+
"scroll" Syntax and Note
Note:
This attribute controls whether to show the scroll bars.
It is a Boolean attribute.
Possible values are true, no, and auto.
true is the default value
auto means that scroll bars are shown when the page content exceeds the visible area.
Syntax:
<element scroll="value"> . . . </element>