HTML | Screen availWidth Property
The Screen availWidth property is used for returning the width of the user’s screen, in pixels. The value returned by the Screen availWidth property is excluding the interface features like the Windows Taskbar.
Return Value: It returns a numeric value which , representing the width of the user’s screen, in pixels
Below program illustrates the Screen availWidth Property :
Getting the width of the user screen.
After clicking the button
Supported Browsers: The browser supported by Screen availWidth are listed below:
- Google Chrome
- Internet Explorer