+ 5

HTML - web page

HOW DO I ADD AN AUDIO IN THE BACKGROUND OF MY HTML WEB PAGE??

30th May 2020, 5:31 AM
「《 Hetavi 》」
「《 Hetavi 》」 - avatar
5 Answers
30th May 2020, 6:05 AM
ÃKR
ÃKR - avatar
+ 2
To add background music on a web page, use <embed>… element. Also, use the autoplay attribute. This will run music in the background whenever the page loads.
30th May 2020, 5:33 AM
Shubham Pandiya
Shubham Pandiya  - avatar
+ 2
https://www.sololearn.com/learn/HTML/2193/ Read this.Its help to solve your question 😊
5th Jun 2020, 11:12 AM
Keerthika C
Keerthika C - avatar
+ 2
You can use the <audio controls> the browser will attempt to play the second format if it doesnt support the first hope this helps!
5th Jun 2020, 6:14 PM
Mo'
Mo' - avatar
30th May 2020, 5:57 AM
Shubham Pandiya
Shubham Pandiya  - avatar