This is HTML link to google:
<a href="http://www.google.com/">Google</a>
And it work fine
This is a link to my local file:
<a href="file:///C:/myhtml.html">Local</a>
And its not working, why?
If this is some sort of security issue, so how can I work around it? It’s just for my own testing.
This sort of link to a local file will work in some browsers as long as the HTML is also called from a local file. If not, it’s a security vulnerability. It won’t work at all in webkit based browsers.
See <A>nchor Link to Local File? (<a href='file:///{path}'>DEAD LINK</a> not working in FireFox but in IE)
And Cross-browser link to file on local system