Current location - Music Encyclopedia - QQ Music - How to put music on the background of a website
How to put music on the background of a website

Make the music into a link, and just click on it with your mouse to hear the moving music. This is a way to edit web pages in Notepad.

1. First, save the file to be added as the background music of the web page in the corresponding folder of the web page.

2. Start the Notepad program and enter the corresponding code in Notepad.

3. Enter the code "Bgsound" to insert background music between the lt;bodygt;lt;/bodygt; code.

4. Enter the background music file path instruction command after lt;bgsoundgt;: src="mp3\yue.mp3". SRC is used to mark path files.

5. If you need the background music to be played repeatedly, you can enter the number of times it will be played repeatedly. Use the parameter "loop" to specify the number of times the music is played repeatedly.

6. This is the interface effect of inserting background music.