Screen Object
The Screen object contains information about the client's display screens, not the exposed standards that are applied to it, although all browsers support the object, and the screen property of each Window object refers to one.
Screen Object Properties
Availheight declares the available height of the screen that displays the browser, in pixels, in the operating system such as Windows, the available height does not include the vertical space assigned to the semi permanent feature (such as the taskbar at the bottom of the screen)
Grammar: screen.availheight;
Example: document.write (screen.availheight); Output 718
Availwidth declares the available width of the screen that displays the browser, in pixels, in the operating system such as Windows, the available height does not include the vertical space assigned to the semi permanent feature (such as the taskbar at the bottom of the screen)
Grammar: screen.availwidth;
Example: document.write (screen.availwidth); Output 1366
Height declares how high the screen of the browser is displayed, measured in pixels
Grammar: screen.height;
Example: document.write (screen.height); Output 768
The Width property declares the breadth of the screen that displays the browser, measured in pixels
Grammar: screen.width;
Example: document.write (screen.width); Output 1366