HTML Sound : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

Sound in HTML
There are two basic approaches. You can embed music or sound to start automatically when the page loads like this:
<embed src="relativepath/yoursound.mid"
hidden="true"
autostart="true"
loop="true"
width="70" height="25">
Using the Embed Tag to Play Music
Tag Meaning
<embed src=relativepath/yoursound.mid name of sound file, usually *.mid *.mp3
hidden=true hide
autostart=true Automatically start the music
loop=true Play the music over and over
width=70 Control Panel is 70 pixels wide.
height=25 Control Panel is 25 pixels high.
The other technique is with a simple link usually with an icon that starts the music or sound when you click. click to listen
<a class="jgloss" href="sound/roedy.mp3"><img src="image/audio/mp3.png"
alt="Voice" border="0"
width="24" height="32"
align="middle"></a>

This page is posted
on the web at:

http://mindprod.com/jgloss/htmlsound.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\htmlsound.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[13.58.217.122]
You are visitor number