HTMLElement

scrollTop
Gets or sets the number of pixels that the content of an element is scrolled upward.