Javascript

Topic: JS Window

Can you explain about Screen object?

The screen object can be used to retrieve the information about thevisitor’s screen. There are following properties of Screen objects avalHeight: This property returns the height of the screen excluding the windows taskbar. availWidth: This property returns the width of the screen excluding the windows taskbar. colorDepth: This property returns the bit depth of the color palette to display images. height: This property returns the total height of the screen pixelDepth: This property returns the color resolution of the screen in bits per pixel.width: This property returns the total width of the screen

Browse random answers: