Exercise
Add hyperlinks to an HTML document.

Add a few hyperlinks from one HTML document to some others using both text and graphics links.
  1. Change to your public_html directory
    cd ~/public_html
  2. Create a new HTML document called hyperlinks.html from scratch using your favorite editor or xemacs.
    xemacs hyperlinks.html &
  3. In the file hyperlinks.html, create a link to one of the HTML files that you created in this class using href,
    <A HREF="filename.html">Click here to learn more about ...</A>
    Replace
    filename.html
    with the name of the file to which you want to link and replace
    Click here to learn more about ...
    with your hypertext link.
  4. Grab the VA Linux Systems logo from the bottom from this viewgraph, by positioning your mouse on top of the logo and then clicking on the right button and selecting
    Save Image As...
    Save the image as
    ~/public_html/images/valogo-header.gif
  5. At the bottom of the file, put the VA Linux Systems' logo and make it a hyperlink to valinux.com by including the following anchor tag in your file.
    <A HREF="http://www.valinux.com"><IMG SRC="images/valogo-header.gif" ALT="VA Linux Systems' logo"></A>
  6. Save your html file.
  7. Examine your page in your browser.
    1. In the location window of your browser, type
      vaweb.valinux.com/~user/hyperlinks.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.
  8. Click on the two links you created and verify that they take you to the intended link.
  9. If you have time, add other hyperlinks and check them out.

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.