Easy Tutorial
❮ Jsref Atan Jsref String ❯

Screen width Property


Definition and Usage

The width property specifies the width of the display screen of the browser, measured in pixels.

Syntax


Browser Support

All major browsers support the width property.


Example

Return the total width of your screen:

The output of the above example:


More Examples

This example includes all screen properties


❮ Jsref Atan Jsref String ❯