<bgsound src="https://webdood.tripod.com/midees/lowspark.mid" loop="infinite">
HOME
HTML Tags
Font
Sound
Marquees
Images
Tables
Cut,Copy,Paste
Tricks
Sounds

Let's put some sound on your page! On WebTv you can link to midis, wav's and some realaudio.
Since I first got on the Web I have been using the <embed src> tag. And it seems to work well on WebTv but the <bgsound src> tag also works fine.

<embed src="http://URL of sound-file"> is the Netscape code. Use it within your <body> tag for background-music and/or hotlinks.

<bgsound src="http://URL of sound-file"> is the Microsoft Internet Explorer code. Use it in the same way as above.

I write my code like this:

<body background="http://Your background here"><embed src="http://URL of sound-file here"</body></html>

This code will create a clickable button on your page and your viewer must click on it to hear the sound.

Like this:

To make your sound start automatically (when someone visits your page), use the following code:

<embed src="http://URL of sound-file here" autostart=true>


NOTE: When using the Microsoft IE <bgsound src> tag, you don't have to use the " autostart=true>" attribute, your sound will start automatically and the "loop=?" and "infinite" attributes work the same in both tags, but you must use the Netscape-friendly <embed src> tag if you want the clickable button to appear.

Here's how you make text linkable to a sound-file.

Here's how you make text linkable to a <a href="https://webdood.tripod.com/midees/diarymadman.mid"> sound-file.</a>

You can make your sound play more than once too, by using the loop attribute to your code. It looks like this:

<embed src="http://URL of sound-file here" autostart=true loop=1>

...or loop=2>, 3 or however many times you want.
Use the following code to make the sound-file play forever...

<embed src="http://URL of sound-file here" autostart=true loop=infinite>

To allow your sound to automatically play on both browsers use the following code:

<embed src="http://URL of sound-file" autostart="true" loop="true">
<noembed>
<bgsound src="http://URL of sound-file" loop="infinite">
</noembed>

Top of Page