The Basic Act: Linking One Page to Another

Composer makes it easy to link pages you've created while they're still on your PC. The trick is to create the pages first and then build the links as described in the following example.

  1. Create the Web pages that will make up your Web site, and save them all in the same folder (see Figure 24.1).

    Figure 24.1. Step 1: Create your pages and store them together in a folder.


  2. Type and format the text that will serve as the various links.

  3. Select the text of one link source (see Figure 24.2).

    Figure 24.2. Step 3: Select a link source.



    One good way to link pages is to create a block of linkscontaining a separate link for each pageand put it at the bottom of every page. That way, your visitors can jump from any page in your Web site to any other with just one click.

    After you've created the block of links, you can use copy-and-paste to copy the block from one page to others (see Chapter 20, "Adding, Editing, and Formatting Text").

    Besides (or in addition to) using a block of text links, you can use picture links (see Chapter 25, "Adding Pictures (and Picture Backgrounds)") or an imagemap (see Chapter 27, "Dividing a Page into Frames") to create a navigation bar, a graphical link block for each page in the site.

  4. Click the Link button on the Composition toolbar.

  5. In the box labeled URL, type the complete filename of the page file to which this link points (including the .htm or .html partsee Figure 24.3). Do not put http:// or anything else at the beginning. The filename alone does it. Then click OK.

    Figure 24.3. Step 5: For the link URL, type the filename of the page to which to link.


Sams Teach Yourself Internet and Web Basics All in One
Sams Teach Yourself Internet and Web Basics All in One
ISBN: 0672325330
EAN: 2147483647
Year: 2003
Pages: 350
Authors: Ned Snell © 2008-2017.
If you may any questions please contact us: