if I type address of any mp3 file from my PC in hyperlink tag, will it start downloading on clicking on it ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

if I type address of any mp3 file from my PC in hyperlink tag, will it start downloading on clicking on it ?

16th Oct 2016, 6:48 PM
Deepak Tiwari
2 Answers
+ 7
It depends on how your browser is configured. If you are using Firefox, you can go to Tools > Options > Applications to change the default behavior for a specified file type. Otherwise, to download a file from a link, you can always do right-click > save target as. Of course, files from your PC are only accessible from your html file if this one is on your PC too. If you are using Code Playground for example, it won't have access to the file, as SoloLearn can't access your PC.
16th Oct 2016, 7:17 PM
Zen
Zen - avatar
- 1
try to find out yourself by doing it
8th Nov 2016, 5:06 PM
mathew varghese
mathew varghese - avatar