Home >
Web Front-end >
HTML Tutorial >
Implementation techniques of web music in web design_HTML/Xhtml_web page production
Implementation techniques of web music in web design_HTML/Xhtml_web page production
WBOY
Release: 2016-05-16 16:44:17
Original
1193 people have browsed it
When inserting music into a web page, you need to write different codes according to different suffixes! Below are the detailed usage codes for files in various formats.
Note:
"Music file and address" - the file name of the file to be played, preceded by the absolute path, or the relative path of this site.
width_num——Specify a number as the width;
height_num——Specify a number as the height;
1.mid
2.mp3
3.avi
4.flash
5.mpg
6.mov
7.rm
8. The above are all using the player. If you just want to play background music, you can use the following simple statement:
Loop is followed by the number of loops, -1 represents an infinite loop.
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn