Microsoft FrontPage: Building A Web Site---HyperlinksHyperlinks connect locations on the World Wide Web, such as Web pages, different sites, or just paragraphs located on the same page. Hyperlink destinations can be text, graphics, e-mail addresses, files (such as a multimedia file or Microsoft Office document), or programs. A hyperlink can be text or a picture. Images containing hyperlinks are known as image maps. A well-designed image map gives users visual cues about where each hyperlink takes them. On your Web you can include links to other sites that visitors to your site might want to check out. This provides an easy way to get to your favorite and most often used Web sites on the World Wide Web. When you type a hyperlink in Page view, FrontPage automatically formats the link. The text and a line below it appear in blue and, with an active Internet connection, a link occurs when you click.
The destination of a hyperlink is encoded as a URL, or Uniform Resource Locators. URLs, also known as web addresses, contain information about web servers or network location, path, and file name.
Hyperlinks are made up of URLs that are either absolute or relative: · An absolute URL contains the full address and is generally used for linking different sites. · A relative URL has one or more missing parts and is generally used for linking within a particular site. If the protocol and domain are missing, the Web browser uses the protocol and domain of the current page. When you create hyperlinks in FrontPage, you do not need to know the destination URL. You can browse to the page, or file whether on the World Wide Web or a system you and your site visitors can access, and FrontPage provides the correct URL. For hyperlinks to destinations in the Web you are working on, FrontPage creates relative URLs. If you rename or move a file in your Web, FrontPage updates all the URLs that point to the file. By generating relative URLs, FrontPage saves you time and ensures that your Web site is portable.
To create a hyperlink within your Web site 1.Select the item to link to a page in your Web site. 2. Click the Hyperlink button. 3. Click the page address in the Create Hyperlink dialog box and then click OK. The text changes color and now has an underline indicating that it is a hyperlink. To create a hyperlink to the World Wide Web 1. Type the text you want to use as a hyperlink and then select it. 2. Click the Hyperlink button. 3. Type the URL in the
URL area and click OK.
A bookmark, also known as an anchor, is a location or text on a page marked as a destination for a hyperlink. If a Web page is long and divided into sections, a bookmark allows you to link to a section of the page rather than to the top of the page as with conventional hyperlinks. To display the section of a page to the site visitor, insert a bookmark at the beginning of the section, and then create a hyperlink with the bookmark as its destination. When the site visitor clicks the hyperlink, the relevant part of the page is displayed, rather than the top of the page. If a location is bookmarked, you see a blue flag when looking at your Web page in Page view with the Normal tab selected. The flag is simply a reminder to you of the bookmark’s location. It is not visible when viewing the Web page in the browser. If text is bookmarked, the text is displayed in Page view with a dashed underline when the Normal tab is selected. To create a bookmark: 1. In Page view, position the insertion point where you want to create a bookmark, or select the text to which you want to assign the bookmark. 2. On the Insert menu, click Bookmark. 3. In the Bookmark name box, type the name of the bookmark (spaces are allowed). Create a hyperlink to a bookmark 1. Highlight the text
or image in your page from which you wish to navigate 2. Click on the
\'Hyperlink\' icon and choose \'Place in This
Document\' and the name of the bookmark
Adding linked graphics to a Web Just as you can use pictures and images to make your Web more visually appealing, you can also to create links using graphics rather than ordinary test. When you insert graphics, it is a good idea to also add ALT text, which creates a description of the graphic that visitors see when they hover a cursor over the graphic. ALT text is helpful when visitor with disabilities cannot see the graphic or if the graphic is not available for viewing. To insert an image: 1. On the Insert menu, point to Picture, and then click Clipart. The Clip Art Gallery dialog box appears. 2. On the Pictures tab, scroll down and click Buttons & Icons. 3. Click the button graphic you prefer, and then click the Insert clip button. To add ALT text to a graphic: 1. Right-click the image you just inserted. 2. Click Picture Properties, and then click the General tab. 3. Under Alternative representations in the Text box, type the text that you want to appear in the event that the graphic is not available to the person viewing your Web page. 4. Click OK. To create a hyperlink from a graphic 1. Click the image you just inserted. 2. On the Standard toolbar, click the Hyperlink button. The Create Hyperlink dialog box appears. 3. In the Create Hyperlink dialog box, type the URL in the URL box. 4. Click OK. The button is now a hyperlink.
Image maps are graphics that contain multiple hyperlinks. FrontPage allows you to create image maps by inserting the image on the page and using the tools on the Image toolbar to create several hotspots that include hyperlinks. A hotspot is an area on a graphic that links to another page or Web site. Generally, hotspots are simply an area on a graphic, but you can also add text to the hotspot. To insert an image 1. On the Insert menu, point to Picture, and then click Clipart. The Clip Art Gallery dialog box appears. 2. In the Search for clips box, type world. 3. Click the globe graphic, and then click the Insert clip button. 4. Add ALT text to the graphic. To create a hotspot 1. On the View menu, point to Toolbars, and then click Pictures. 2. On the Pictures toolbar, click the Rectangular Hotspot button. The mouse pointer becomes a pencil. 3. With the pencil, draw a rectangle around North America to create a hotspot. The Create Hyperlink dialog box appears. 4. In the URL box, type the URL . 5. Click OK. The area is now a hyperlink. To create a text hotspot 1. On the Pictures toolbar, click the Text button. 2. In the text box that appears, type Xpeditions. 3. Move the text box to the location you want by clicking and dragging the text box border. 4. Double-click the border of the text box. The Create Hyperlink dialog box appears. 5. In the URL box, type the URL and then click OK.
In addition to conventional hyperlinks, you can also add links to e-mail. You can create a hyperlink that opens and addresses an e-mail message to the address you specify. This allows visitors to your Web site to send you comments. To add an e-mail link 1. On the Standard toolbar, click Hyperlink . 2. In the Create
Hyperlink dialog box, click Make a hyperlink that sends 3. In the Type an E-mail address text box, type the address you want comments to be sent to, and click OK. 4. In the Create Hyperlink dialog box, click OK. Managing hyperlinks on your Web site With FrontPage , you can check your Web has incorrect or broken hyperlinks and quickly, repair them. A broken hyperlink is one that has an invalid destination URL and returns an error if the site visitor clicks the hyperlink. A critical part of managing a Web site is verifying that the hyperlinks go to the correct external destinations (destinations that are outside of your Web). After hyperlinks have been verified, their status does not change until you verify the hyperlinks again, or close and reopen the Web. To verify your hyperlinks 1. In Reports view, click the Verify Hyperlinks button on the Reports toolbar. 2. Select the Verify all hyperlinks option, and then click Start. The status of all hyperlinks in the current Web appears.
A hyperlink might have an invalid URL for various reasons; you may have mistyped it, or, if the destination page is on another World Wide Web site, the page might have been changed or removed. To repair a hyperlink 1. On the View menu, point to Reports, and then click Broken Hyperlinks. 2. All broken hyperlinks in your Web are listed. If a hyperlink\'s destination is not in the current Web, the status of the hyperlink is Unknown. 3. Double-click a hyperlink with Broken status. 4. To display the page to edit it, click Edit Page. 5. If you know the
correct URL of the destination, edit it in the Replace hyperlink with box.
6. To repair other
occurrences of this hyperlink in all pages in the current Web, click Change in
all pages. 7. Click Replace. If the hyperlink\'s destination is not in the current Web, the status of the hyperlink changes to Unknown. If the destination is valid, the hyperlink no longer appears in the Broken Hyperlinks report.
At some point, you may decide you want to remove a link if your Web changes or if the link no longer works because someone else’s site has changed. Deleting a hyperlink from a page is simple. To remove a hyperlink from your Web 1. In Page view, select a hyperlink on one of the pages in your Web site. 2. Do one of the following: · To delete the hyperlink completely, including the hyperlink text, press DELETE. · To preserve the hyperlink text but delete the hyperlink associated with it, select the hyperlink, and then click Hyperlink button. Select the contents of the URL box, and then press DELETE.
To create a hyperlink to an Office document 1. In Page view, type the text you want to use as a hyperlink and then select it. 2. Click the Hyperlink button. 3. Do one of the following: · If the Office document is in the current Web, navigate to the Web in which the document is located, and then select the document. · If the Office document is on the local file system and you have access permission to the file, click the File button, browse to the document, and then select it. · Import the file into your Web site. 4. Click OK. The text you selected is now a link to the document. |