Screen height property
Definition and Usage
height attribute declares the browser displays a screen height in pixels.
grammar
screen.height
Browser Support
All major browsers support height attribute
Examples
Examples
Returns the total height of your screen:
<Script>
document.write ( "Total height:" + screen.height);
</ Script>
document.write ( "Total height:" + screen.height);
</ Script>
Examples of the above output:
try it"
More examples
This example contains all the properties of the screen.
Screen objects