Scroll Automatically to the Bottom of the Page with css code example Example: automatically scroll to bottom of page window.scrollTo(0,document.body.scrollHeight);