HTML Tutorial - music
Related Tags:
Music on demand
Music creates a link, simply click with the mouse in the above, we can hear the music moving, it's very simple:
<A HREF="音乐地址"> pieces of </ A>
For example:
MIDI music player section:
<A HREF="midi.mid"> MIDI music </ A> MIDI music
AU format music player section:
<A HREF="you.au"> the table you - AU music </ A> the table you - AU music
Our favorite music collection, make a music library, be ready at all times to themselves and others relish in the ocean of music, has already been doing this, and you must have encountered many, but can also try their own done !
Automatic load music
Front, we are achieving with links to online music this function, we can also automatically printed in the music, you can make it as a control panel or Background music to use. Basic syntax:
<EMBED SRC="音乐文件地址">
Attribute:
SRC = "FILENAME" music files path set AUTOSTART = TRUE / FALSE whether to transmit music files End automatically broadcast to TRUE, FALSE is not, the default is FALSE LOOP = TRUE / FALSE set number of repeat players, LOOP = 6 Expressing repeat six times, unlimited player said TRUE, FALSE broadcast a stop. STARTIME = ": s" set the beginning of music playback time, such as 20 seconds after the player wrote to STARTIME 0:20 VOLUME = = 0-100 set the size of the volume. If you do not set it on the volume of the system used. Width Height settings control panel the size of HIDDEN = TRUE hidden control panel CONTROLS = CONSOLE / SMALLCONSOLE settings control panel appearance Example:
*************************************
<html>
<head>
<title> Music </ title>
</ Head>
<body>
<EMBED SRC="midi.mid" autostart=true hidden=true loop=true>
As background music to play.
</ Body>
</ Html>
Example:
*************************************
<html>
<head>
<title> Music </ title>
</ Head>
<body>
<EMBED SRC="midi.mid" loop=true width=145 height=60>
<P> A control panel, you can control it with the opening of the Commissioner can also adjust the volume size. </ P>
</ Body>
</ Html>
The background music in IE
In addition, there is also insert background music format, but only in the IE browser can hear.
<bgsound Src="音乐文件地址" loop=#>
# = Cycles
Example:
<bgsound Src="sound.wav" loop=3>
- Intermediate HTML form guide
- Guide to HTML primary links
- Beginners Guide to HTML - HTML document as a whole
- HTML Video Tutorial: HTML basic structure
- HTML Image primary Guide
- HTML forms Senior Guide
- Html ? W ? W ? HTML?Z ?
- Html file in the introduction of other html document Methods
- Intermediate HTML tutorial Javascript
- HTML High statement Guide
- The evolution of HTML
- HTML paragraphs primary Guide
- HTML tags and attributes of the Semantic
- HTML Tutorial - HTML entry
- HTML primary Guide List
- HTML ? ?-? ?
- Why should discard the HTML
- Analysis Html page: HTML Parser trial
- HTML Tutorial - HTML basic structure
- HTML text Senior Guide




