Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Screen height Property

Screen height Property

Screen Object Reference Screen object


Definition and Usage

The height property declares the height of the screen that displays the browser, in pixels.

Syntax

screen.height


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the height property


Example

Example

Return the total height of your screen:

The output of the above example is:

Try it »


More examples

This example contains all screen properties.


Screen Object Reference Screen object