Screen Object
The width property returns the total width of the visitor's screen, in pixels.
![]()
The width property is supported in all major browsers.
Return the total width of your screen:
The output of the code above will be:
All screen properties in one example
Screen Object
Your message has been sent to W3Schools.