Hyperlink is not opening the web page, giving error ‘browser can’t find the file:’ below is the code:

Feb 17 2011 12:55 AM

Hyperlink is not opening the web page, giving error 'browser can't find the file:' below is the code:

<html>

<head>

<title> Javascript </title>

<script language ="Javascript"><!-linkTo="www.msn.com"->

</script>

</head>

<body>

<a href="&amp;(linkTo);" >Click Here</a>

</body>

</html>

I have the internet connection but browser can't find the file error is showing on the browser, please do check the attachments.

URL of the page: file:///C:/Users/Arbab/Desktop/Desk.html

URL of the page after the hyperlink has been clicked: file:///C:/Users/Arbab/Desktop/&%28linkTo%29;

 Thanks in advance.

 

 


Answers (5)