in JavaScript by
Different Property to handle Screen in Javascript with description?

1 Answer

0 votes
by
Javascript SCreen object holds the information of the browser screen. And with the help of this we can display screen width, height and pixeldepth etc. Below are the 6 main property to return information of the browser.

(1)width:- It will return the width of the screen.

(2)height:- It will return the height of the screen.

(3)availWidth:-It will return the available width

(4)availHeight:- It will return the available height.

(5)colorDepth:-It will return the color depth.

(6)pixelDepth:-It will return the pixel depth.
...