+ 5
HTML - web page
HOW DO I ADD AN AUDIO IN THE BACKGROUND OF MY HTML WEB PAGE??
5 Antworten
+ 10
+ 2
To add background music on a web page, use <embed>… </embed> element. Also, use the autoplay attribute. This will run music in the background whenever the page loads.
+ 2
https://www.sololearn.com/learn/HTML/2193/
Read this.Its help to solve your question 😊
+ 2
You can use the
<audio controls>
<source src="audio-url-goes-here.mp3" type="audio/mpeg">
<source src="audio-url-goes-here.ogg" type="audio/ogg">
</audio>
the browser will attempt to play the second format if it doesnt support the first
hope this helps!
+ 1