Getting started on your new web page

Step By Step
Chapter 7

Chapter 1 The Tool Bar
Chapter 2 Page Properties
Chapter 3 Text
Chapter 4 Images
Chapter 5 Tables
Chapter 6 Targets and Links
Chapter 7 Sound
Chapter 8 Using Backgrounds and Borders



Sound on Your Page
Want a cool song playing in the background when people visit your page? Well unfortunately there is no button for embedding a sound into a page, so you'll have to write it to the source code. Don't worry, it won't be too bad.

First save whatever work you have done by pressing the picture of a floppy disk on the toolbar. When that's finished click on edit and choose HTML Source from the pop-up menu. If you haven't assigned an external editor, like notepad or simple text, then you will be prompted to do so. The text editor will then open up with the source code. Scroll down to the bottom of the page. The last two commands are :
</BODY></HTML>
Click the cursor in front of the </BODY> and hit return a couple of time to clear out some space. Put the cursor above the </BODY> tag and type in the next lines substituting your file name where you see green print.

<EMBED SRC="sound.mid" WIDTH="144" HEIGHT="60" AUTOSTART="TRUE" VOLUME="100%" HIDDEN="false">
<BGSOUND SRC="sound.mid" AUTOSTART="true" WIDTH="144" HEIGHT="60" HIDDEN="false">

Why two commands that look like they are doing the same thing? The reason is that Internet Explorer and Netscape Navigator use different commands for putting sound on a page.

These commands are set up to embed the sound on the page, show a console, and automatically play the song. You can customize the commands a little.
1. if you do not want a console change HIDDEN="false" to HIDDEN="true", you can also leave out the width and height commands.
2. If you do not want the song to play automatically change AUTOSTART="true" to AUTOSTART="false", You must include a console if you do not AUTOSTART.
3. You adjust the volume by changing the percentage.

Save your file with the text editor and then close the HTML Source window. When you go back to Netscape Composer it will say that the page has been changed by an external program  and then asks if you wish to reload. Tell it yes.

You can embed several different sound file types, AU, WAV, and MID. Of these the midis or MID are the best. hey can be very detailed music files but take up a small amount of space making them load faster. Wavs and AOs are actuall sound recordings and can be very large. Be sure to use the correct extension for your sound files

.mid or .midi for midis
.au for au files
.wav or .wave for wave files

If you think you have done everything right and still can't get your music to work, get in contact with your ISP and ask them about the extension mapping on their server.



NEXT
The PUB Main
FTP Downloads/Instr.
FordPub.com
Step by Step
The PUB Font Archive
Search Engine Submitting
Web Graphics
Ask the Webmaster
Web Tools
Simple Page Writer
You Are Traveler number