HTML DOM Style top Property
The HTML DOM Style top Property is used to set or return the top position of a positioned element including padding, scrollbar, border, and margin. Syntax: It returns the top property.object.style.topIt sets the top property.object.style.top = "auto | length | % | initial | inherit"Property Values: