Supported music f" />
Current location - Music Encyclopedia - NetEase Cloud Music - How is the background music programmed in web design?
How is the background music programmed in web design?
Write code:

& lt embedded src = music link address width = 0 height = 0 type = audio/mpeg loop = "true" autostart = "false" >

Supported music formats:

wma mp3 rm ra ram asf mid

Code parameters:

The width and height are the width and height of the player and can be set as appropriate numbers.

For example: width =400 height =300.

Autostart="true "means automatic playback, and autostart="false" means no automatic playback.

Loop="true "means continuous loop playback, and loop="false" means no loop playback.

Loop can be equal to an integer, such as loop="5 ",which means that the music is played five times in a loop.