+ 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?
3 ответов
+ 4
<a href="url" >right click to download </a>
+ 1
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<button>
<a href="url">Download</a>
</button>
</body>
</html
0
Thanks for help