HTML DOM Element clientTop
HTML DOM Element clientTop Property
The clientTop property is a read-only property and it returns the width of the element top border in pixels. It does not include top padding or top margin.
Syntax;-
Its syntax is:- element.clientTop
Return:-
Its return is:- width of element top border in pixels