0

can i make a button using only html

can i make button that will play a particular audio when we press it using only htm

4th Nov 2020, 4:13 AM
The Pro Gamer
The Pro Gamer - avatar
3 Antworten
0
Vikrant Upadhyay i have already read that portion but i dont know how to make a button that will play audio when pressed i m not talking about controls a separate button which will play audio
4th Nov 2020, 4:19 AM
The Pro Gamer
The Pro Gamer - avatar
0
Ok sorry ,it's my mistake. then you can visit here, it may help you:- https://stackoverflow.com/questions/39161487/how-to-play-sound-through-html-buttons#:~:text=you%20can%20play%20sound%20by,your%20button%20as%20onclick%20event.&text=Make%20sure%20to%20give%20a%20valid%20filename or visit here https://www.w3schools.com/jsref/met_audio_play.asp
4th Nov 2020, 4:20 AM
Vikrant Upadhyay
Vikrant Upadhyay - avatar
0
Vikrant Upadhyay thax a lot 👍👍👍👍👍
4th Nov 2020, 4:25 AM
The Pro Gamer
The Pro Gamer - avatar