Microsoft KB Archive/304409

= HOW TO: Create Hyperlinks With FrontPage 2000 =

Article ID: 304409

Article Last Modified on 1/7/2006

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q304409



IN THIS TASK
SUMMARY
 * Create a Hyperlink to a Page or File in Your Web
 * Create a Hyperlink to a New Page
 * Create a Hyperlink to a Page or File on the World Wide Web
 * Create a Hyperlink to a Page or File in a File System
 * Create a Hyperlink to Send an E-Mail Message
 * Create a Hyperlink to a Bookmark
 * Create a Hyperlink to an Office Document

REFERENCES



SUMMARY
This article explains hyperlinks and how to create them in Microsoft FrontPage.

A hyperlink represents a connection from one Web page to another Web page, to a different location on the same page, or to any other linkable site on the Internet or an intranet. The destination can be another Web page, a picture, an e-mail address, a file (such as a multimedia file or Microsoft Office document), a network directory, or even a program (its EXE file). A hyperlink can assume the form of text or a picture.

When a visitor to a Web site clicks a hyperlink, the destination is either displayed in a Web browser, opened, or run, depending on the destination. For example, a hyperlink to an Audio-Video Interleaved (AVI) file opens the file in a media player, and a hyperlink to a page displays the page in the Web browser.

In Microsoft FrontPage, you can create hyperlinks to any of the following destinations:
 * A page or file in your FrontPage Web
 * A new page
 * A page or file on the World Wide Web
 * A page or file on a file system
 * A template for sending an e-mail message
 * A bookmark
 * An Office document

back to the top

Create a Hyperlink to a Page or File in Your Web
When you create a hyperlink to a page or file in a Web, the destination is displayed in a Web browser when a visitor to your site clicks the hyperlink. For example, you can create hyperlinks from your home page to the other pages in your Web, or to Graphics Interchange Format (GIF) picture files. To do this, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, do one of the following:
 * 4) * Type the text that you want to use as a hyperlink, and then select it. For example, type and select My Travels to link to a page that describes your travels.
 * 5) * Position the insertion point where you want to insert the hyperlink if you want to use the title of the destination page (for example, My Home Page) or location of the file (for example, http:// / ) as the hyperlink text.
 * 6) On the Insert menu, click Hyperlink.
 * 7) In the Create Hyperlink dialog box, locate the Web in which the destination page or file is located, click the page or file, and then click OK.

NOTE: If the destination page or file is in the current Web, click the page or file under Folder List, and then drag it to where you want the hyperlink on the open page.

back to the top

Create a Hyperlink to a New Page
If you want to create a hyperlink to a new page in a Web or file system, you can create the new page at the same time that you create the hyperlink to it. When a visitor to your site clicks the hyperlink, the destination page is displayed. You can use this method to create hyperlinks from your home page to other pages in your Web. To do this, follow these steps:  Start FrontPage, and then open your Web. Under Folder List, double-click a page in your Web. In Page view, type the text that you want to use as a hyperlink, and then select it. For example, type and select My Travels to link to a page that describes your travels. On the Insert menu, click Hyperlink. Click the Create a page and link to a new page button to the right of the URL box. In the New dialog box, click the template that you want to use for the new page. Do one of the following: <ul> If you want to edit the new page now, click OK

FrontPage creates the hyperlink and displays the new page for you to edit. Note that you must first save the page for the hyperlink to work.</li> If you want to edit the new page at a later time, click to select the Just add Web task check box, and then click OK. This action creates a task to remind you to finish the page later. Then, save the page by doing the following: <ol style="list-style-type: lower-alpha;"> In the Save As dialog box, click Change.</li> In the Set Page Title dialog box, type the title that you want for the new page, and then click OK.</li> Type a file name in the File name box, and then click Save.</li></ol> </li></ul> </li></ol>

back to the top

Create a Hyperlink to a Page or File on the World Wide Web
When you create a hyperlink to a page or file on the World Wide Web, the destination page or file is displayed when a visitor to your site clicks the hyperlink. Use this method to create hyperlinks to pages or pictures that are on other Web sites. To do this, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, do one of the following:
 * 4) * Type the text that you want to use as a hyperlink, and then select it. For example, type and select MSN to link to the Microsoft Network page.
 * 5) * Position the insertion point where you want to insert the hyperlink if you want to use the title of the destination page (such as &quot;Welcome to MSN.com&quot;) or the location of a file (such as http://www.msn.com/ ) as the hyperlink text.
 * 6) On the Insert menu, click Hyperlink.
 * 7) Click the Use your Web Browser to select a page or file button to the right of the URL box.
 * 8) In your Web browser, browse to the page that you want, and then press ALT+TAB to return to FrontPage. The location of the page that you visited is displayed in the URL box.
 * 9) Click OK.

back to the top

Create a Hyperlink to a Page or File in a File System
When you create a hyperlink to a page or file in a file system, the destination page or file is displayed when a visitor to your site clicks the hyperlink.

Ensure that the destination of the hyperlink is in a location where all visitors to your site can access it, such as a network drive. If you want to create a hyperlink to a page or file on your local hard disk, use a UNC path (such as \\ \ \ ) instead of a local path (such as C:\ \ ). Otherwise, when a visitor to your site clicks the hyperlink, the Web browser attempts to locate this file on the visitor's own drive C, and the visitor may receive an error message in the browser window.

To create a hyperlink to a page or file on a file system, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, do one of the following:
 * 4) * Type the text that you want to use as a hyperlink, and then select it. For example, type and select My Travels to link to a page that describes your travels.

-or-
 * 1) * Position the insertion point where you want to insert the hyperlink if you want to use the location of the destination (such as file:// / / ) as the hyperlink text.
 * 2) On the Insert menu, click Hyperlink.
 * 3) Click the Make a hyperlink to a file on your computer button to the right of the URL box.
 * 4) In the Select File dialog box, locate and select the page or file that you want, and then click OK.

back to the top

Create a Hyperlink to Send an E-Mail Message
You can create a hyperlink that creates an e-mail message addressed to your e-mail alias. When a visitor to your site clicks the hyperlink, he or she is able to send an e-mail message to the address that you specified. To do this, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, do one of the following:
 * 4) * Type the text that you want to use as a hyperlink, and then select it. For example, type and select Send me an e-mail.

-or-
 * 1) * Position the insertion point where you want to insert the hyperlink if you want &quot;mail to: &quot; as the hyperlink text.
 * 2) On the Insert menu, click Hyperlink.
 * 3) Click the Make a hyperlink that sends E-mail button to the right of the URL box.
 * 4) Type the e-mail address to which you want the message sent, and then click OK twice to close the dialog boxes.

back to the top

Create a Hyperlink to a Bookmark
A bookmark is a location or selected text on a page that you have marked. A hyperlink to a bookmark (anchor) is indicated by a pound sign (#) that precedes the destination URL. Create a hyperlink to a bookmark when you want to display a particular section of your Web page. Then, when a visitor to your site clicks the hyperlink, the relevant section is displayed at top of the browser window.

To create a hyperlink to a bookmark, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, do one of the following:
 * 4) * Type the text that you want to use as a hyperlink, and then select it.

-or-
 * 1) * Position the insertion point where you want to insert the hyperlink if you want to use the name of the bookmark as the hyperlink text.
 * 2) On the Insert menu, click Hyperlink.
 * 3) In the Create Hyperlink dialog box, click the page that contains the bookmark.
 * 4) Under Optional, click the bookmark that you want to use in the Bookmark box, and then click OK.

back to the top

Create a Hyperlink to an Office Document
You can create a hyperlink to an Office document, such as a document created in Microsoft Word, Microsoft Excel, or Microsoft PowerPoint. When a visitor to your site clicks the hyperlink, the browser opens the relevant program or viewer, and then displays the document.

To create a hyperlink to an Office document, follow these steps:
 * 1) Start FrontPage, and then open your Web.
 * 2) Under Folder List, double-click the page in which you want to insert a hyperlink.
 * 3) In Page view, type the text that you want to use as a hyperlink, and then select it.
 * 4) On the Insert menu, click Hyperlink.
 * 5) Do one of the following:
 * 6) * If the Office document is in the current Web, locate and select the document that you want to use, and then click OK.

-or-
 * 1) * Drag the file from under Folder List to the position on the open page in which you want the hyperlink.

-or-
 * 1) * If the Office document is on a file system, click the Make a hyperlink to a file on your computer button to the right of the URL box. Locate and the select the document that you want in the Select File dialog box, and then click OK.

In addition, you can set default hyperlinks for graphics, and add hotspots (hyperlink regions) or text hotspots to graphics on your Web pages.

For more information about setting default hyperlinks for graphics and working with hotspots in FrontPage, click Microsoft FrontPage Help on the Help menu, type create an image map in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

back to the top

<div class="references_section">