Answers for "w3schools audio"

1

audio in html

<audio controls>
<source src="sound.ogg" type="audio/ogg">
<source src="sound.mp3" type="audio/mpeg">
No audio support.
</audio>
Posted by: Guest on August-05-2021
1

how to display audio in html

_______________________________________________________________________________________

###                         Audio(s)                         ###


### Adding a audio file is almost the same as adding a video file here is the basic code line :
<audio controls >

    <source src="Type here the location of your audio" />
</audio>

### just like adding a style to video(s) its done like this :
<audio controls  class="The name of your style" >

    <source src=&quot
Posted by: Guest on September-04-2021

Browse Popular Code Answers by Language