HTML Tutorial - music

Related Tags:

  In addition to html can be inserted into graphics, can also play music and video.    A browser can play music formats: MIDI music, WAV music, AU format.    Also in the use of the Internet to download music format, MP3 compression ratio is the highest, best quality file formats. 


  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> 

Related articles:

Flash explain voice control
  Voice is an important component of multi-media elements, appropriate flexibility in the use of multimedia voice work is often the key to success.    Flash as popular multimedia tools, the use of their voices are rich and varied ways, the paper explored the use of Flash in the voice...
Intermediate HTML tags Guide span and div
  In view HTML primary purpose of the handbook is the skeleton of HTML elements, the increased number of osteosarcoma Intermediate Guide, they should not be special difficulties, but we can further enhance the understanding of HTML, so that we can do something more useful things.    ...
Commentary: your site enough "2"
  Internet companies achieved a lot of the elements, put aside the most important mode of products and the decisive role played by, I found that in this market now, enough 2 also very important.    I understand, "2" can have several layers of meaning.    1. Did ...
How to use Dreamweaver easily create pop-up menus
  This paper prepared by the studio from 4 u2v "Dreamweaver Web design and produce 100 cases" (Telecom Publishing House, ISBN: 7115142394).    Without the written authorization of the copyright owners permission to reproduce this prohibition.    Buy address: Clic...
AS3 learning: the only variable category
  (In this paper, non-direct translation, reads as follows:)    In ActionScript 2, the variables defined within a class's body were defined in the class's prototype object. This was an efficient means to handle variable definitions but it also meant that complex data types (s...