HTML DOM Window screenLeft Property Last Updated : 15 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The Window screenLeft property is used for returning the 'x' or horizontal coordinate of a window relative to a screen. It returns a number which represents the horizontal coordinate of a window relative to a screen. Syntax: window.screenLeft Return Values: It returns a Number that represents the horizontal distance of the window relative to the screen, in pixels Below program illustrates the Window screenLeft Property : Getting the horizontal coordinate of a window relative to a screen. HTML <!DOCTYPE html> <html> <head> <title> Window screenLeft Property in HTML </title> <style> h1 { color: green; } h2 { font-family: Impact; } body { text-align: center; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2>Window screenLeft Property</h2> <p> For returning the X coordinates of a window relative to the screen, double click the "Check Screen Left" button: </p> <button ondblclick="coordinate()"> Check Screen Left </button> <script> function coordinate() { var x = window.open("", "myWindow"); x.document.write (" <p>Welcome to my Window"); x.document.write ("<br> ScreenLeft : " + x.screenLeft); } </script> </body> </html> Output: After clicking the button: Supported Browsers: The browser supported by Window screenLeft Property are listed below: Google Chrome 1Edge 12Firefox 64Internet Explorer 5Opera 12.1Safari 1 Comment More infoAdvertise with us Next Article HTML DOM Window screenLeft Property S Shubrodeep Banerjee Follow Improve Article Tags : Web Technologies HTML HTML-Property Similar Reads HTML DOM Window screenX Property The Window screenX property is used for returning the 'x' or the horizontal coordinates of a window relative to the screen. It returns a number which represents the horizontal distance of a window relative to the screen in pixels. Syntax: window.screenX Return Value: It returns a number that represe 1 min read HTML DOM Window screenY Property The Window screenY property is used for returning the 'y' or the vertical coordinates of a window relative to the screen. It returns a number which represents the vertical distance of a window relative to the screen in pixels. Syntax: window.screenY Below program illustrates the window.screenY prope 1 min read HTML DOM Window screenTop Property The Window screenTop property is used for returning the 'y' or vertical coordinate of a window relative to a screen. It returns a number which represents the vertical coordinate of a window relative to a screen.Syntax: window.screenTop Return Value: It returns a number that represents the window hor 2 min read HTML DOM Window self( ) Property The Window self() property is used for returning the current window. It is generally used for comparison purposes while using other functions such as top(). It is a read-only property and it returns a reference to the Window object itself.Syntax: window.self Return Value: Return reference of the Win 2 min read HTML DOM Window scrollX property The scrollX property of the Window interface returns the number of pixels that the document is currently scrolled horizontally in the current window. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number. This is a read-only property. Syntax: var Scrx = 1 min read Like