html5 - I am trying to implement an html link to open up local files from my hardrive on Chrome -


i use file:/// protocol followed file location , reason keep getting same: "webpage not found" error.

eg: <a href="‪file:///c:\desktop\projects\webpage.htm"><li>home</li> </a>

this syntax works me:

<a href="‪file:///c:/desktop/projects/webpage.htm">home</a> 

also putting <li> inside of <a> not valid html, because <li> should element of list (<ul> or <ol>). correct way put <a> inside of <li>.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -