HTML CSS Reference/HTML Attributes Reference/scroll
"scroll" Example
<source lang="html4strict">
<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>
</source>
scroll is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<body> <html> (IE6 only) | +----------------+--------------------------------------------------------------+
</source>
"scroll" Syntax and Note
<source lang="html4strict">
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>
</source>