0

Can I use a HTML file as link?

While practicing offline, in the HTML tag, <a href:"link here">word here<a> Can I use a HTML file location like this: <a href:"C://Folder1/eg.HTML">word here <a> ?

4th Aug 2017, 2:20 PM
AaduTHOMA7
AaduTHOMA7 - avatar
4 Answers
+ 2
Yes you can put anything you want and you will be redirected to that page. location in the browser is like this: File://C:/..... You have to put file
4th Aug 2017, 2:29 PM
Damon Keane
+ 2
if the file is in your Phone then it won't be working here in sololearn code playground
4th Aug 2017, 2:28 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 2
because C: is a windows location for phone: File://storage/...
4th Aug 2017, 2:34 PM
Damon Keane
+ 2
only works if you have the file on your PC
4th Aug 2017, 2:36 PM
Damon Keane