HTML | DOM clientHeight Property
The DOM clientHeight property is used to return the viewable height of an element in terms of the pixel. It includes the measurement of the width of padding but does not include the margin, border, and scrollbar property for the measurement of the element width. This property only returns the actual height of an element that is viewable or visible to the user It is a read-only property.
Return Value: It returns a numeric value which represent the viewable height of the element.
- After Click on the Button:
Supported Browsers: The browser supported by DOM clientHeight property are listed below:
- Google Chrome 1.0 and above
- Edge 12.0 and above
- Internet Explorer 5.0 and above
- Firefox 1.0 and above
- Opera 8.0 and above
- Safari 3.0 and above