Insert images on a Web page.
(For advanced students)

Insert images and text into a Web page.
    Cat and hat
  1. Copy the file template.html to your public html directory.
    cp ~nblachman/html/template.html ~/public_html
  2. Check that you have an images directory in your public html directory.
    ls ~/public_html/images
    If ls tells you you don't have such a directory, create one.
    mkdir ~/public_html/images
  3. Create images or grab images from off the web and put them in the directory ~/public_html/images
  4. Change directories to ~/public_html using the command
    cd ~/public_html
  5. Edit the file
    using your favorite editor or XEmacs, by using the command
    xemacs template.html &
  6. Fill the body of template.html with some interesting text and imges.
  7. Examine your page in your browser.
    1. In the location window of your browser, type
      to view your page, where "user" is the name you use to login to your system.
    1. If you weren't able to open your Web page, then from the File menu in Navigator, choose the "Open Page". 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.