JavaScript Reference/Javascript Properties/height 2
"height" Example
<html>
<body>
<button onclick="alert(screen.height);">Screen Height</button>
</body>
</html>
"height" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document event |
| |screen |
+----------------+--------------------------------------------------------------+
"height" Syntax and Note
Note:
Read-only property.
Returns the object height in pixels.
Syntax:
objectName.height