![]() |
VOOZH | about |
The Window innerHeight property is used for returning the height of a window's content area. It is a read-only property and returns a number which represents the height of the browser window's content area in pixels.
Syntax:
window.innerHeight
Return Value: It returns a number that represents browser window's content area height in pixels.
Below program illustrates the Window innerheight Property:
Returning the current frame's height.
Output:
After clicking the button:
Supported Browsers: The browser supported by Window innerHeight Property are listed below: