Linking to external Web pages and resources

To link to a Web page or other Internet-accessible resources outside of your Web site, you must know the exact URL for that Web page or resource and you must use the correct syntax when you type it into the Link Editor.

To create a link to an external site:

  1. Select the text or image you want to make into a link.
  2. Choose Link to URL from the Insert menu or click the Link Editor button on the toolbar.

    The Link Editor appears.

  3. Type the URL of the link's destination in the URL text box.

    You can see some examples of the correct syntax for URLs by clicking Show Examples.

    To link to

    Use this syntax

    A Web page within your Web site

    file.html

    A Web page outside your Web site

    http://servername/dir/file.html

    An anchor on the same Web page

    #anchorname

    An anchor on a page within your Web site

    file.html#anchorname

    An anchor on a page outside your Web site

    http://.../file.html#anchorname

    An FTP site

    ftp://servername/dir/file.txt

    An email address

    mailto:username@hostname



    Note An example of an Internet-accessible resource is an email address.You can use mailto links to send an electronic message to a specific email address. When mailto links are clicked, the browser opens an email message window where you can type and send a message addressed to that email address.

  4. Close the Link Editor.

    The selected text or image changes to indicate the link.

To remove the visible border from a linked image:

  1. Select the image.
  2. Choose Object Editor from the View menu (Windows) or Show Object Editor from the Window menu (Macintosh).
  3. Type 0 in the Border text box in the Image Object Editor.

For information about changing the default color of links, see Changing the color of links.

To create another link to the same location, select the new text or image you want to make into a link and choose the most recent URL listed at the top of the URL pop-up menu.

You can test your links to external pages and resources by using the Preview in Browser mode. For more information, see Previewing and testing your site.


Previous topic | Contents | Next topic