JavaScript Screen Object9 Apr 2025 | 1 min read The JavaScript screen object holds information of browser screen. It can be used to display screen width, height, colorDepth, pixelDepth etc. The navigator object is the window property, so it can be accessed by: Or, Property of JavaScript Screen ObjectThere are many properties of screen object that returns information of the browser.
Example of JavaScript Screen ObjectLet’s see the different usage of screen object. screen.width: 1366 screen.height: 768 screen.availWidth: 1366 screen.availHeight: 728 screen.colorDepth: 24 screen.pixelDepth: 24 Next TopicJavascript-dom |
We request you to subscribe our newsletter for upcoming updates.

We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India