0% found this document useful (0 votes)
24 views2 pages

WT 3

Uploaded by

Hardik Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

WT 3

Uploaded by

Hardik Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

EXPERIMENT NO :- 03

OBJECTIVE:

Write programs using JavaScript Web Page to display browsers information.

PROGRAM:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Google map using Java script</title>
<script language=javascript>
function show() {
document.write("Name " + navigator.appName + "<br>");
document.write("Version " + navigator.appVersion + "<br>");
document.write("Codename " + navigator.appCodeName + "<br>");
document.write("Cookie enable" + navigator.cookieEnabled + "<br>");
document.write("Java Enable" + navigator.javaEnabled + "<br>");
document.write("Mime type" + navigator.mimeTypes + "<br>");
document.write("Platform" + navigator.platform + "<br>");
document.write("Plug ins" + navigator.plugins + "<br>");
document.write("System Language" + navigator.systemLanguage + "<br>");
document.write("User language" + navigator.userAgent + "<br>");
document.write("User Agent" + navigator.userAgent + "<br>");
} </script>
</head>
<body>
<form id="form1">
<div>
<input id="Button1" type="button" value="Click me" onclick="show()" />
</div>
</form>
</body>
</html>
OUTPUT:

You might also like