HTML DOM Window navigator Property Last Updated : 15 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The HTML DOM Window navigator property is used to return a Navigator object. The navigator object contains information about the browser. This Navigator object contains methods and properties of the application which is run the script. Syntax: var nav = window.navigator; Return Value: A Navigator Object. Example: This example shows how to get the Navigator Object of the document using this property. HTML <body style="text-align:center;"> <h1 style="color:green;"> GeeksforGeeks </h1> <p> HTML | window navigator property </p> <button onclick="Geeks()"> Click Here </button> <script> function Geeks() { console.log(window.navigator); } </script> </body> Output: Supported Browsers: Google ChromeEdgeFirefoxSafariOpera We have a Cheat Sheet on Javascript where we covered all the important topics of Javascript to check those please go through Javascript Cheat Sheet-A Basic guide to JavaScript. Comment More infoAdvertise with us Next Article HTML | DOM Window closed Property T taran910 Follow Improve Article Tags : JavaScript HTML-DOM Similar Reads HTML | DOM Window parent Property HTML DOM Window parent Property returns the parent window of the current window. It is a read-only property. If a window does not have a parent, then it refers to itself. Syntax: window.parent Return Value: Parent Window object of current window. If there is no parent window then it refers to itself 1 min read HTML | DOM Window opener Properties The Window opener property in HTML DOM is used to return the reference of newly created windows. This property is used to return the details of the source (parent) window. A window is opened using the window.open() method and closed using the window.opener.close() method. Syntax:window.openerReturn 2 min read HTML | DOM Window closed Property The Window closed property in HTML DOM is used to return a value that indicates whether the referred window is closed or not. Syntax: window.close() Return Value: A Boolean value, true if window is closed otherwise false. Example: HTML <!DOCTYPE html> <html> <head> <title> HT 1 min read HTML | DOM Window status Property The Window status property in HTML DOM is used to set or return the text in the status bar at the bottom of the browser. Syntax: window.status Note: This property has been DEPRECATED and is no longer recommended. Return Value: It returns a string which represents the text displayed in the status bar 2 min read HTML DOM window document Property The HTML DOM window document returns a reference to the document contained in the current window. Syntax: doc = window.document; Return Value: This property returns a reference to the document. Example: In this example, we will get the title of the document using that document reference. html <ti 1 min read HTML DOM window document Property The HTML DOM window document returns a reference to the document contained in the current window. Syntax: doc = window.document; Return Value: This property returns a reference to the document. Example: In this example, we will get the title of the document using that document reference. html <ti 1 min read Like