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
- Internet Explorer 4.0
- Firefox 1.0
- Opera 3.5
- Safari 1.0
- What is the difference between offsetHeight and clientHeight ?
- HTML | DOM specified Property
- HTML | DOM Bdo dir Property
- HTML | DOM value Property
- HTML | DOM name Property
- HTML | DOM URL Property
- HTML | DOM dir Property
- HTML | DOM id Property
- HTML | DOM li value Property
- HTML | DOM fullscreenElement Property
- HTML | DOM attributes Property
- HTML | DOM ownerDocument Property
- HTML | DOM accessKey Property
- HTML | DOM Style right Property
- HTML | DOM nextSibling Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.