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
Post a Comment