HTML DOM Navigator appCodeName Property Last Updated : 14 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The Navigator appCodeName Property is used for returning the code name of the browser. It is a read-only property and generally, all modern browsers return "Mozilla". Syntax: navigator.appCodeName Return values: Returns a string that represents the code name of the browser. Below program illustrates the Navigator appCodeName Property: 1. Getting the code name of the browser. html <!DOCTYPE html> <html> <head> <title> Navigator appCodeName Property in HTML </title> <style> h1 { color: green; } h2 { font-family: Impact; } body { text-align: center; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2>Navigator appCodeName Property</h2> <p> For returning the codename of the current browser, double click the "Return Browser Codename" button: </p> <button ondblclick="codename()"> Return Browser Codename </button> <p id="BrowserName"></p> <script> function codename() { var b = "Browser's CodeName : " + navigator.appCodeName; document.getElementById("BrowserName").innerHTML = b; } </script> </body> </html> Output: After clicking the button Supported Browsers: The browser supported by Navigator appCodeName Property listed below: Google Chrome Internet Explorer Firefox Opera Safari Comment More infoAdvertise with us Next Article HTML DOM Navigator appCodeName Property S Shubrodeep Banerjee Follow Improve Article Tags : Web Technologies HTML HTML-Property Similar Reads HTML DOM Navigator appName Property Navigator appName Property: It is used for returning the name of the browser.It is a read-only property and the values returned by it varies from browsers to browsers.it returns a string which represents the name of the browser.It returns "Netscape" for IE11, Firefox, Chrome, and Safari whereas, for 1 min read HTML DOM Navigator appVersion Property The Navigator appVersion Property is a read-only property and it returns a string which represents the version information of the browser. It is used for returning the information related to the version of the browser. Syntax: navigator.appVersion Note: This property has been deprecated and is no lo 1 min read HTML DOM Window navigator Property 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 Ob 1 min read HTML DOM Navigator onLine Property The Navigator onLine property is used for returning a Boolean value which specifies whether a browser is in the online or offline mode. It is a read-only property which returns true if the browser is in online mode or false if it is in the offline mode. Syntax: navigator.onLineReturn Value: A Boolea 2 min read HTML DOM Navigator product Property The Navigator product property is used for returning the browser's engine(product) name. It is a read-only property and generally returns "gecko" for most of the browsers. It returns a string representing the engine name of the browser. Syntax: navigator.productReturn Value: A String, representing t 1 min read Like