+ 1

How to add download option to an audio in html file?

The following code is not working <audio controls> <source type="audio.mp3" type="audio/mpeg"> <source type="audio.ogg" type="audio/ogg"> </audio> Why this is not working? Is there any other way?

8th Sep 2020, 7:39 AM
Ankit Meena
Ankit Meena - avatar
3 ответов
+ 4
<a href="url" >right click to download </a>
8th Sep 2020, 7:56 AM
Gordon
Gordon - avatar
+ 1
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <button> <a href="url">Download</a> </button> </body> </html
8th Sep 2020, 8:56 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
0
Thanks for help
9th Sep 2020, 7:18 AM
Ankit Meena
Ankit Meena - avatar