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
3 odpowiedzi
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
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
0
Vikrant Upadhyay thax a lot 👍👍👍👍👍