Scroll



Write a javascript code to scroll the window to the particular position.


<html>            
  <head>
    <script>
    
        function scrollWindow()
        {
            scrollTo(0,200);      
        }

    </script>
  </head>
<body>
    
    <p> Click to Scroll window  </p>
    <input type="button" value="scroll window" onclick="scrollWindow()"/>

   <p>A</p>
   <p>B</p>
   <p>C</p>
   <p>D</p>
   <p>E</p>
   <p>-------------------------Window is Scrolled.</p>

  </body>
</html>

Output: