Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF

What is Screen object?

Tweet Share WhatsApp

Answer:

► The screen object can be used to retrieve the information about the visitor'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.

Download Expert JavaScript Developer PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
How can a particular frame be targeted, from a hyperlink, in JavaScript?Is JavaScript case sensitive?