The screenTop property is used to return the vertical position of a window. It is relative to the screen. Its similar properties are screenLeft Property, screenX Property, and screenY Property.
Its syntax is:- window.screenTop
Its return is:- vertical position in pixels of the window relative to the screen.