HTML Window innerHeight Property

The HTML Window innerHeight property returns the height of the content area of a window in an HTML document.

Syntax

Following is the syntax −

window.innerHeight

Let us see an example of HTML Window innerHeight Property −

Example

 Live Demo




HTML Window innerHeight Property

Output

Click on “Show window inner height” button to display the inner height of the content area:

Updated on: 2019-10-01T10:59:47+05:30

310 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements