Creating A Hyperlink

Create a hyperlink to a page or file in a web

You can create a hyperlink to a destination such as a page or file in a web. When a site visitor clicks the hyperlink, the destination is displayed in the Web browser. For example, you can create hyperlinks from your home page to the other pages in the web. Or, create a hyperlink to a GIF picture.

  1. In Page view, type the text you want to use as a hyperlink and then select it. For example, type and select "My Interests" to link to a page that describes your hobbies.

    Or, if you want to use the title of the destination page (for example, Home Page) or location of the file (for example, http://localhost/filename) as the hyperlink text, position the insertion point where you want to insert the hyperlink.

  2. Click Hyperlink .
  3. Navigate to the web in which the destination page or file is located, and then select the page or file.

Tip   If the destination page or file is in the current web, click the page or file in the Folder List, and then drag it to the open page where you want the hyperlink

Create a hyperlink to a new page

You can create a hyperlink to a page in a web or file system. If you have not created this page yet, you can create it as you create a hyperlink to it. When a site visitor clicks the hyperlink, the destination page is displayed. For example, you can create hyperlinks from your home page to other pages in the web.

  1. In Page view, type the text you want to use as a hyperlink and then select it. For example, type and select "My Interests" to link to a page that will describe your hobbies.
  2. Click Hyperlink .
  3. Click New Page .
  4. Click the template you want to use to create the new page.
  5. Do one of the following:

Create a hyperlink to a page or file on a file system

You can create a hyperlink to a page or file in a file system. When a site visitor clicks the hyperlink, the destination page or file is displayed. For example, you can create a hyperlink to a file on a network.

Note   The hyperlink's destination should be in a location that is accessible to all site visitors, such as a network drive. If you want to create a hyperlink to a page or file located on your local drive, specify a UNC path (such as \\computername\share\file.htm) rather than a local path (such as C:\Share\File.htm). Otherwise, when a site visitor clicks the hyperlink, the Web browser will look for this file on the site visitor's C:\ drive and will most likely return an error.

  1. In Page view, type the text you want to use as a hyperlink and then select it, for example type and select "My Interests."

    Or, if you want to use the location of the destination (such as file://computername/share/filename) as the hyperlink text, position the insertion point where you want to insert the hyperlink.

  2. Click Hyperlink .
  3. Click File .
  4. Browse to the page or file you want from your local network, and then select the file.

Create a hyperlink to an Office document

You can create a hyperlink to a Microsoft Office document, such as a document created in Word, Excel, or PowerPoint. When the site visitor clicks the hyperlink, the Web browser opens the corresponding application or viewer, and then displays the document. Some Web browsers display the document inside the browser window; other browsers open a separate window.

Note   Before you create a hyperlink to a PowerPoint animation, you must add the Microsoft PowerPoint Animation ActiveX control, which is installed with PowerPoint (see Add an ActiveX control).

  1. In Page view, type the text you want to use as a hyperlink and then select it. For example, type and select "Budget Spreadsheet."
  2. Click Hyperlink .
  3. Do one of the following:

    Tip   If the Office document is in the current web, click it in the Folder List, and then drag it to the open page where you want the hyperlink.

Create a hyperlink to a bookmark

A bookmark is a location or selected text on a page that you have marked. You can create a hyperlink to a bookmark when you want to display a certain section of a page to the site visitor. When the site visitor clicks the hyperlink, the relevant part of the page is displayed, rather than the top of the page.

For example, you can use bookmarks to navigate a long page that contains five headings. Create a bookmark at each heading, and at the top of the page add a table of contents that lists these headings. Each entry in the table of contents is a hyperlink that uses a bookmarked heading as a destination.

A hyperlink to a bookmark, also called an anchor, is indicated by a pound sign (#), which precedes the destination URL.

  1. In Page view, type the text you want to use as a hyperlink, and then select it.

    Or, if you want to use the name of a bookmark as the hyperlink text, position the insertion point where you want to insert the hyperlink.

  2. Click Hyperlink .
  3. Select the page that contains the bookmark.
  4. In the Bookmark box, click the bookmark you want to use as the destination.

Set a default hyperlink for a graphic

You can set a default hyperlink for a graphic, such as a picture, animated GIF, or video. When a site visitor clicks the graphic, the Web browser displays the destination of the hyperlink. For example, to create a button that displays your home page, add a button graphic to a page, and then set the default hyperlink for it to go to your home page.

If you put hotspots on a graphic, the default hyperlink is used for the areas that do not have a hotspot.

  1. In Page view, right-click the graphic, click Picture Properties on the shortcut menu, and then click the General tab.
  2. In the Location box under Default hyperlink, type the destination that you want to use as the default hyperlink. Or, click Browse to find the destination:
  3. If you want the destination of the hyperlink to show up in a specific frame, click Change Target Frame , and specify the frame.

Add a hotspot to a graphic

You can add hotspots to graphics such as pictures and animated GIFs. A hotspot is an invisible region on a graphic to which you have assigned a hyperlink. When a site visitor clicks the region, the destination of the hyperlink is displayed in the Web browser. In Microsoft FrontPage, hotspots can be shaped as rectangles, circles, or polygons.

A graphic with one or more hotspots is called an image map. The image map usually gives cues about where it should be clicked. For example, a car manufacturer's Web site could use an image map of its new cars: when a site visitor clicks a car, a page with a detailed description of the car is displayed.

  1. In Page view, click the picture.
  2. On the Pictures toolbar, click the Hotspot button corresponding to the shape you want:
  3. On the graphic, draw a rectangle, circle, or polygon, depending on the shape you chose. To draw a polygon, click where you want the first corner of the polygon to be, click to place each corner of the polygon, and then double-click to finish it.

    When you release the mouse button, the Create Hyperlink dialog box opens.

  4. Specify the destination for the hotspot:

Create a hyperlink to send an e-mail message

You can create a hyperlink that opens and addresses an e-mail message to the address you specify. For example, if you want site visitors to send you feedback, you can create a hyperlink that creates an e-mail message addressed to your e-mail alias.

Note Not all Web browsers support hyperlinks to e-mail addresses.

  1. In Page view, type the text you want to use as a hyperlink and then select it, for example type and select "Send me an e-mail message."

    Or, if you want to use mailto:address as the hyperlink text, position the insertion point where you want to insert the hyperlink.

  2. Click the Hyperlink button .
  3. Click the E-Mail button .
  4. Type the e-mail address to which you want the message sent.