How To Use Audio In Html

 How To Use Audio In Html 

Friends, if you want to put a <audio> in html, then you have to use the audio tag. Some examples are given below.

The HTML <audio> element is used to play an audio file on a web page.




<audio controls autoplay> 

<source src="https://youtu.be/rVrpbBuSbtU" type="audio/ogg"> 

<source src="https://youtu.be/rVrpbBuSbtU" type="audio/mpeg">

</audio>




No comments:

Post a Comment

How To Use Audio In Html

 How To Use Audio In Html  Friends, if you want to put a  <audio>  in html, then you have to use the audio tag. Some examples are giv...