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 id Property
- HTML | DOM Bdo dir Property
- HTML | DOM dir Property
- HTML | DOM li value Property
- HTML | DOM URL Property
- HTML | DOM specified Property
- HTML | DOM value Property
- HTML | DOM Map name Property
- HTML | DOM name Property
- HTML | KeyboardEvent which Property
- HTML | DOM doctype Property
- HTML | DOM className Property
- HTML | DOM Button name Property
- HTML | DOM Style top 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 firstname.lastname@example.org. 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.