Exercise
Add a background image.

Add a background image to an html document.
  1. Select a background image that will enhance your penguin.html document. Here are sites with background images:
  2. Position your mouse on the background and hold the right button down and select Save image as..." and save the image file in ~/public_html/images.
  3. Change to your public_html directory.
    cd ~/public_html
  4. Edit the file
    penguins.html
    using your favorite editor or XEmacs
    xemacs penguins.html &
  5. Set the BACKGROUND attribute in the BODY tag to the background image file you selected
    <BODY BACKGROUND="imagesyourImage" BGCOLOR="yourColor">
    where yourImage is the background image your selected and yourColor is the background color that should be used if someone has images turned off in their browser preferences or images are not supported by the browser.
  6. Examine penguins.html in your browser.
    1. In the location window of your browser, type
      vaweb.valinux.com/~user/penguins.html
      to view your page, where "user" is the name you use to login to your system.
    Or
    1. From the File menu in Navigator, choose the "Open Page" from the File menu. The Open Page dialog box appears
    2. Click the "Choose File" button. The file browser appears.
    3. Navigate to your public_html directory. The name of your html file will now appear in the Files box.
    4. Click on the file and then hit the return key or click the "OK" button at the button left of the dialog box. Then click "Open in Navigator" in the Open Page dialog box. You should always check your work in your browser.


VA Linux Systems logo

   
I would appreciate comments, corrections, and
suggestions for how I can improve this course.

Nancy Blachman
Variable Symbols, Inc.
356 Bush Street
Mountain View, CA 94041-1332
650 966 8999
650 966 8998 fax
nancy- at -variablesymbols.com

If you want to learn how to search effectively using Google, visit Google Guide, which you can find at www.googleguide.com.