Browser Version IN JavaScript

Browser is a program used to view the web pages. Web pages are created using any markup language like html , xml etc. The popular Browser programs are Internet Explorer, Netscape Navigator, Fire Foxetc. Navigator object of JavaScript can avail us the details about our browser, like which browser program we are using , what is the version of the browser we are using etc.
 
Example
 
<html>

<head>

</head>

<body bgcolor=”yellow” text=red>

<script type=”text/javascript”>

var ver = navigator.appVersion

document.write(“<br>My Brower’s Version is :”+ver)

</script>

</body>

</html>

Scroll to Top