FREE Web Template Download
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULARJS TUTORIALS REFERENCES EXAMPLES Blog
 

Navigator appVersion Property

Navigator Object Reference Navigator Object

Example

Get the version of your browser:

var x = "Version Info: " + navigator.appVersion;

The result of x will be:

Try it Yourself »

More "Try it Yourself" examples below.


Definition and Usage

The appVersion property returns the version information of the browser.

Note: This property is read-only.


Browser Support

Property
appVersion Yes Yes Yes Yes Yes

Syntax

navigator.appVersion

Technical Details

Return Value: A String, representing the version information of the browser

Examples

More Examples

Example

A demonstration of all navigator properties in one example:

var txt = "";
txt += "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt += "<p>Browser Name: " + navigator.appName + "</p>";
txt += "<p>Browser Version: " + navigator.appVersion + "</p>";
txt += "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt += "<p>Browser Language: " + navigator.language + "</p>";
txt += "<p>Browser Online: " + navigator.onLine + "</p>";
txt += "<p>Platform: " + navigator.platform + "</p>";
txt += "<p>User-agent header: " + navigator.userAgent + "</p>";
Try it Yourself »

Navigator Object Reference Navigator Object