how to scrooll bottom of the page in html code example Example: js scroll to bottom window.scrollTo(0,document.body.scrollHeight);