Creating Web Pages

Copyright 1999
Dr. C. Floyd Richmond
All Rights Reserved


 

It is possible with many modern word processors to save an existing file as an html page. Since this file will appear on the internet, it is important to use internet naming conventions. Use only lower-case letters. Add the ".html" extension to the file name (for example, index.html). Use no non-alphabetic characters. Use no spaces.

The following screens from Microsoft Word 98 illustrate the process.

The following screens from ClarisWorks show the process in that program.
Documents created in other word processors can usually be exported to HTML format. When this is not possible, save or export the information to a text or RTF (rich text format) file. Text files keep all words but loose all graphics and formatting. RTF files preserve all graphics and most formatting. These files may then be opened and converted to html files using ClarisWorks or Microsoft Word 98. NOTE: As of this writing, Word 98 gives the best conversion for files with pictures. ClarisWorks is OK for files without pictures.
 
Another alternative would be to open the RTF file with a program such as RTFtoHTML which converts RTF files to web format. Again, this program does not do as well as Word 98 on RTF files with pictures.

NOTE: Files converted to web format which contain graphics no longer exist as a single file. Instead, there is an index file which contains the text and a separate file for each graphic and/or multimedia element in the document. All of these files must be moved to the web project folder.

  BECOMES 

NOTE: After conversion to web format, most files require some editing to reenter lost formatting,


Creating A Web Page With Netscape Communicator

1. When Netscape Communicator runs, the window which opens is the browser window. This window allows access to the internet using an interface common to all web browsers. Note the location bar and the back, forward, home, and search buttons.

2. To create a new web page, choose File>New>Blank Page.

3. At this time the Netscape Composer’s window will appear. Although the tools available in both of Netscape’s windows are quite different, it is easy for novices to confuse the browser and the composer windows. Browsing web pages is only possible in the browser window. Changing them is only possible in the composer window.





4. An essential step at this time is to save the new, empty web page into a project folder. Name the file "index.html". Unless this is done, it will be impossible to correctly add anything but text to the web page.

IMPORTANT: It is necessary to understand something of the anatomy of a web page. A web page consists of an index file (index.html) which contains all text and instructions for displaying graphics and sounds. All graphics and sounds exist as independent files which must be stored in the same folder (or subfolders*) as the index page. (*Same folder for this class!)

5. Adding text to a web page. Netscape Composer’s text editing tools are similar to those found in most word processors. Text may be typed, selected and modified as indicated below.

6. Adding graphics to a web page. Graphics come from a number of sources. They may be downloaded from the internet. They may come from clip-art collections. They may be "electronically photocopied" using a scanner. They may be created using drawing or painting programs. They may include screen shots from notation software. They may be created using a digital camera.

Regardless of how the graphics are created, eventually they are saved to disk in an appropriate file format. The two most common graphic formats on the internet are gif and jpg. The gif or jpg file should be copied to the same folder as the index page. The graphic file may then (only after it is located in the proper folder) be dragged into the composer window. Double click on the graphic in the composer window to set custom options for the picture (alternate name for those browsing with pictures turned off, resize values, html link for the picture, etc.) NOTE: Graphics files are visible in the web page after they are dragged into the composer window.



7. Adding sounds to a web page. Again, sounds come from a number of sources. They may be downloaded from the internet. They may be created using software for notation, sequencing, or recording digital audio. They may be extracted from CDs.

Again, regardless of their origin, sounds for the internet are eventually saved to disk in an appropriate file format. The two most common types of sound files on the internet are wav and mid. The wav or mid file should be copied to the same folder as the index page. The sound file may then (only after it is located in the proper folder) be dragged into the composer window. A link to the sound file will be automatically created. Using Netscape Composer, the text of the link may be changed as desired.

NOTE: Wave files (.wav) contain digitally recorded audio and may consume thousands of kilobytes per second.  Although it is possible to exercise greater control over the quality of sounds with digital audio, current internet speeds make it impractical to record more than a few seconds. On the other hand, MIDI files (.mid) contain instructions for a sound card or electronic instrument to play music (no recordings of voices). MIDI files of just a few kilobytes can play music for minutes, or conceivably hours. The quality of the playback, however, is determined by the quality of the playback equipment which varies greatly from computer to computer.

NOTE: The link created to a sound file is inactive in Netscape Composer.  To test the link, save the file, switch to the browser (click on the yellow Navigator wheel icon), and then click on the new sound link.




8. Adding links to existing CDs. The fidelity and size limitations of wave and MIDI files can be overcome through the use of a relatively new and obscure file format: vcd. Vcd files, control the CD player of the user. The significant limitation of this approach is that for the proper effect, the person viewing the site must own the required CD. The significant advantages of vcd files, however, include CD quality sound fidelity, relatively instantaneous playback (compared to downloading a similar wav file), and the avoidance of copyright infringement (since the listener must own a copy of the CD being studied).

VCD files are short text files which contain commands telling the CD player what to play. VCD files are created with a text editor, added to the web folder, and dragged into the composer window as are graphics and sound files. Again, the text of the link to the vcd file may be edited using Netscape Composer.

NOTE: The link created to a vcd file is inactive in Netscape Composer. To test the link, save the file, switch to the browser (click on the yellow Navigator wheel icon), and then click on the link to the vcd file.

NOTE: Web browsers require Voyager’s CD Link helper application to correctly use vcd files. This application may be downloaded from the following internet address:

http://www.worthpublishers.com/kerman/cdlink.html

This has already been done in the Music Education Resource Center.

9. Adding links to other pages on the internet. It is possible to add links within the text of newly created web pages to existing web pages and to other new web pages. The process for both types of links is fundamentally the same.

a. Type the text to serve as a link (Click here to see a page on . . . .)
b. Select the just-typed text.
c. Click the link button from Netscape Composer’s toolbar (looks like a chain link) 
d. Enter the internet address of the information the user should see.
For newly created pages in the same folder as the web project, this would be: filename.html
For existing internet pages, the full internet address would need to be given.
For example, http://www.menc.org/


 
 




10. Once the web page has been created, it must be uploaded to the internet. This process is again a simple drag and drop operation. First type the following information into the location field of Netscape Navigator: ftp://username:password@ftp.server.com When the computer completes the log in process, drag all of the files from the web folder into the browser window. For greater control over file management (for instance, to delete a file) an FTP program such as Fetch may be used.


Horizontal Lines, Tables, Page Title,
Custom Colors, Custom Background Images

11. It is possible to add a horizontal line between sections of a web page by clicking the line tool. 

12. A very useful device for positioning graphics and text on the page is a table. To create a table, click on the table tool. By clicking and holding down on the table (Windows uses - right-click the table), numerous custom options may be selected..

13. To set the title of the web page choose "Page Title" from the "Format" menu. The title entered in the dialog box will display in the title bar of the web page.

14. To select custom colors for the background and text of a page, choose "Page Properties" from the "Format" menu. Click on "Use Custom Colors" and choose the desired colors. It is also possible to select an image to be used on the background of the page. The image can be any internet graphic file (.gif or .jpg). The picture will be repeated in rows and columns until the window is full. If a background image is selected, it will override a selected background color. It is important to choose a background image which does not overpower existing text and images.



Graphics - "How To" Sheet

Downloading Graphics from the Internet

1. Run Netscape Navigator
2. Display the desired graphic on the screen
3. Click and hold down the mouse button on the image. (Windows users, right-click the image)
4. Choose "Save image as" from the menu which appears.
5. Save the image in the project folder. Normally, the file name should not be changed and the last three characters of the file name should never be changed.
Using Graphics from Clip-Art 1. Run the clip-art program
2. Select the desired image
3. Choose "Copy" from the Edit menu
4. Run Netscape Composer and open the web page to which the image should be added.
5. Click at the location where the image should appear.
6. Choose "Paste" from the Edit menu.
7. Netscape will save the image as a separate file. The image must be saved in the web project folder. This must be the same folder as the web page to which the image is being added. Netscape typically saves pasted images as jpg files so the file name should have the ".jpg" extension. (for example, filename.jpg).
Scanning graphic images 1. Run the scanning software.
2. Set the scanner resolution (72dpi for the internet)
3. Set the color depth (256 for most internet graphics)
4. Click the "Preview" button
5. Select the portion of the image to be scanned.
6. Click the "Scan" button
7. Save the image as a gif or jpg file into the web project folder. If the scanning software does not support gif or jpg files, save the files then convert the files to the appropriate format.
Drawing and Painting Software 1. Run the drawing or painting software.
2. Use the program’s tools to create the desired image.
3. Save the image as a gif or jpg file into the web project folder.
Capturing Screen Images and Notation Graphics 1. Run Finale, enter and display all notes to be captured on a the screen.
2. Mac users type Apple-Shift-3 (a picture of the screen will be saved to the root level of the computer’s hard drive). Windows users type the "Print Screen" button.
3. Locate and double click the newly created image file (Mac users will find all "Screen Shots" labeled as Picture 01, Picture 02, Picture 03, etc.).
4. Select the desired portion of the image (Drag the mouse from the top left to the bottom right corner of the desired image)
5. Choose "Copy" from the Edit menu
6. Run Netscape Composer and open the web page to which the image should be added.
7. Click at the location where the image should appear.
8. Choose "Paste" from the Edit menu.
9. Netscape will save the image as a separate file. The image must be saved in the web project folder. This must be the same folder as the web page to which the image is being added. Netscape typically saves pasted images as jpg files so the file name should have the ".jpg" extension. (for example, filename.jpg).
Pictures from a Digital Camera 1. Take pictures using a digital camera. A digital camera allows images to be previewed without developing. Bad images may be discarded.
2. Connect the camera to the computer using the cables supplied by (or available from) the camera manufacturer.
3. Run the software for downloading images from the camera to the computer. The software is supplied by (or available from) the camera manufacturer.
4. Download the images to the computer and save them in the web project folder. Images from digital cameras are usually in .jpg format. File names should be appropriate for the internet (for example, picture1.jpg). NOTE: The quality of pictures taken with digital cameras is steadily improving but is not currently as good as pictures taken and developed in the traditional manner.

Sound - "How To" Sheet

Downloading Sounds from the Internet

1. Run Netscape Navigator
2. Display the screen with links to the desired sound
3. Click and hold down the mouse button on the link to the sound. (Windows users, right-click the link)
4. Choose "Save link as" from the menu which appears.
5. Save the sound file in the project folder. Normally, the file name should not be changed and the last three characters of the file name should never be changed.
Creating MIDI files Using Notation, Sequencing Software 1. Run Finale or Music Shop software.
2. Use the program’s tools to create the desired music.
3. Save or Export (from the File menu) the music as a MIDI file into the web project folder. The file should use the ".mid" extension (for example, filename.mid) NOTE: Very short MIDI files (less than a measure) may not play correctly on some web browsers.
Creating Wave files using digital audio software 1. Run AudioShop (Mac), SoundForge(Win), Peak (Mac) or SoundEdit16 (Mac).
2. Use the program’s tools to record the desired music.
3. Save or Export (from the File menu) the music as a wave file into the web project folder. The file should use the ".wav" extension (for example, filename.wav)
Extracting a Wave file from CD
Note: This process creates extremely large wave files. VCD files are the best choice for extracting sound from a CD.
1. Insert the CD into the computer
2. Mac users run "SimpleText". Windows users run an equivalent program.
3. From the File menu, choose open and select the desired track from the Audio CD.
4. Click the "Options" button in the window which appears.
5. Set the sample rate (22K for music on the internet).
6. Set the sample depth (16 bit for music)
7. Set the sample duration/starting and ending times (no more than a few seconds for the internet)
8. Click the convert button.
9. Save the resulting file in the web project folder. The file will be a movie file so it should use the ".mov" extension (for example, filename.mov). Links to ".mov" files are made the same as for ".wav" or ".mid" files.
  Adding links to existing CDs Using VCD files
1. Listen to the CD and write down the starting and ending times of each excerpt.
2. Create a separate text file containing the instructions to play each excerpt (see the handout for details).
3. Save the text files with the ".vcd" extension in the project folder.
4. Link to the vcd file in the same way as to a ".wav" or ".mid" file.
 
Voyager VCD Commands

To control a CD from an internet page, 
save the desired CD command from 
the right in a text file and name the file 
with the ".vcd" extension, for example, 
"pausecd.vcd". Put the CD command 
file in your project folder and create 
a link to the file to execute the command.

In order to work, the computer browsing 
the internet must have Voyager's CD Link 
program installed and must specify it as 
the helper application for ".vcd" files with 
their browser.

CDLink may be downloaded at the 
following internet address:

http://www.worthpublishers.com/kerman/cdlink.html

Play the CD

[COMMANDS]
PLAY
Pause the CD

[COMMANDS]
PAUSE
Stop the CD

[COMMANDS]
PAUSE
Eject the CD

[COMMANDS]
EJECT
Play a specified track

[COMMANDS]
PLAYTRACK 01
Play an excerpt
Start at track 01, 00 minutes, 
10 seconds, and 00 blocks
End at track 001, 00 minutes, 
16 seconds, and 00 blocks
(One block = one sixtieth of a second)

[COMMANDS]
PLAY 01,00,10,00,01,00,16,00