HTML DOM Element offsetHeight
HTML DOM Element offsetHeight Property
The offsetHeight property is a read-only property and it returns the viewable height of an element that includes padding, border, and scrollbar in pixels but it does not include the margin.
Syntax:-
Its syntax is:- element.offsetHeight
Return:-
Its return is:- viewable height including padding, border, and scrollbar in pixels