element.scrollHeight property returns the total height of an element, in pixels.
This property includes padding, but not the border, margin, and scrollbar (if present).
Note: This property is read-only.
|Number||Returns the total height of an element in pixels, including padding, but not the border, scrollbar or margin.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.