Can anyone tell me how to create a simple html page with only a background picture and audio. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Can anyone tell me how to create a simple html page with only a background picture and audio.

7th Jun 2020, 3:02 AM
Varun N
Varun N - avatar
1 Answer
+ 3
In order to achieve this: 1. Give the page a background image 2. Add the audio in the html file for ex: <audio autoplay="true" src="a.mp3"> Then in the CSS file add: audio{display:none;}
7th Jun 2020, 3:10 AM
NEZ
NEZ - avatar