/

HTML / CSS / JavaScript Tutorial

JavaScript DOM HTML property: scrollTop

[this page | pdf | back links]

The scrollTop property of HTML elements within the JavaScript DOM sets / returns number of pixels that the content of the element is scrolled vertically.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile