3 4
If you create Web pages, you're going to want to include hyperlinks. After all, the ability to jump from document to document (or from file location to file location) using hyperlinks is a major drawing point of the Web. (Imagine entering a URL in the Address box every time you wanted to visit a Web page!) Because hyperlinks play such a large role in text navigation these days, Word provides convenient ways to create and modify hyperlinks in your documents.
As you probably know, hyperlinks are text or graphics that have been formatted to serve as links to other files or file locations when users click them. Every hyperlink consists of two main components: an anchor and a target. The part of the hyperlink you click is the anchor, and the information you see in response to clicking an anchor is the target. When you create hyperlinks, you must specify the anchor information and enter the address or location of the target information. In addition, you can add a third component to hyperlinks, called ScreenTips. A ScreenTip is the text that is displayed when you hover your mouse pointer over a hyperlink. Using Word, you can easily create text, graphic, and e-mail hyperlinks, as described in this section.
By default, Web and e-mail addresses are automatically formatted as hyperlinks when you type them in a Word document if Word can easily recognize the text as a Web address or an e-mail address. For example, if you type www.creationguide.com, Word will format the text as a Web address, but if you type creationguide.com, Word won't format the text as a hyperlink. To work around this, you could type www.creationguide.com, and then after Word formats the hyperlink, you could delete the www. portion of the Web address. Similarly, you could you could add http:// in front of a Web address that doesn't start with www. to indicate that the text is a Web address, as in http://creationguide.com.
This automatic formatting feature is usually welcome, but at times you might prefer to turn off the feature. To change this setting, you must configure the AutoCorrect options, as follows:
After you turn off this AutoCorrect option, Word will no longer automatically format Web and e-mail addresses as hyperlinks in your documents. As you might expect, existing hyperlinks will not be affected.
Tip - Change the Ctrl+click hyperlink setting in Word
By default, you must press Ctrl+click to follow a hyperlink while you're working in Word. This setup is convenient because it enables you to click within a hyperlink to edit its text. At times, though, you might find the combination is unnecessary or cumbersome. If that's the case, you can turn off this setting (so that you can simply click hyperlinks to follow them when you're working in Word). To remove the Ctrl+click setting, choose Tools, Options, click the Edit tab, and then clear the Use Ctrl+Click To Follow Hyperlink check box.
Any text, including characters, words, phrases, headings, paragraphs, and so forth can be formatted to serve as a hyperlink. To create a text hyperlink, follow these steps:
Figure 31-13. The Insert Hyperlink dialog box helps you specify the target for a hyperlink; you can choose any file, file location, or e-mail address to serve as a hyperlink target.
Tip
Figure 31-14. The Set Hyperlink ScreenTip dialog box enables you to specify the text that appears when users hover their mouse pointer over a hyperlink.
If you want to create a hyperlink in one document to access information in another document, you can use the right-click and drag method, as follows:
Keep in mind that you can't drag drawing objects to create hyperlinks; for those types of objects, you have to use the standard hyperlink procedures, as described in the next section, "Linking Graphics." If you use the right-click and drag method to create hyperlinks and you plan to post the Web pages on line, you might find it easiest to store the files in the same folder. That way, you won't lose or confuse the hyperlink information when you upload the pages to the server.
Tip - Set the hyperlink base
You can set the base address for a document if you want all hyperlinks to automatically include the base address information in their paths. To specify a base address, choose File, Properties, click the Summary tab, enter the base address in the Hyperlink Base box, and then click OK.
You can create graphics hyperlinks in the same way you create text hyperlinks. When you design Web pages, you'll find that some graphics make particularly intuitive hyperlinks, including the following:
To access the Insert Hyperlink dialog box when you're formatting a graphic as a hyperlink, click the image or drawing object and click the Hyperlink button, or right-click the picture or drawing object and choose Hyperlink on the shortcut menu. After you open the Insert Hyperlink dialog box, you configure the hyperlink information in the same way you configure text hyperlinks, as described in the section "Creating Text Hyperlinks."
You can combine Word features to create stylish linked banners and buttons. For example, you can create banners using WordArt (see Chapter 17, "Customizing Documents with WordArt"), and you can create buttons by using Word's drawing tools, AutoShapes, and text boxes (as described in Chapter 16, "Enlivening Documents with Drawings and AutoShapes"). After you create a banner or button in Word, you can format the object as a hyperlink by right-clicking the object and choosing Hyperlink on the shortcut menu or by clicking the object and then clicking the Hyperlink button on the Standard toolbar.
If you want to reuse a drawing object on several Web pages, you might want to save the object as a standard image file so that the button or banner appears consistently throughout your site. To turn a drawing object into an image, follow these steps. (You'll need a drawing program to complete this procedure, such as Microsoft Paint.)
After you create the GIF image, you can insert it in your Web page and format the image as a hyperlink, just as you insert and format other image files. For more information about inserting images in Web pages, see the section "Working with Web Graphics."
The last type of hyperlink we'll look at here is an e-mail hyperlink. E-mail hyperlinks are frequently used on Web pages to present an E-Mail The Webmaster link or other similar "contact us" types of link. When a user clicks an e-mail hyperlink, an e-mail message window opens, containing an e-mail address in the To box that you specified for the hyperlink. You can also automatically configure the Subject line's text.
To create an e-mail hyperlink, follow these steps:
Figure 31-15. When you create an e-mail hyperlink, you can specify the To line e-mail address, ScreenTip information, and a Subject line for the e-mail message.
Tip - Use AutoCorrect to create e-mail hyperlinks
As mentioned, you can also create e-mail hyperlinks automatically in your documents by simply typing an e-mail address directly in the body of your document. By default, AutoCorrect formats e-mail addresses typed in a document as e-mail hyperlinks.
After you create text hyperlinks, you can customize their appearance just as you customize other text by using standard formatting techniques such as applying font colors and font styles.
Tip
In addition, you can edit text, graphics, and e-mail hyperlinks by modifying the hyperlinks' properties. For example, you can make the following changes:
Tip
In addition to changing hyperlinks, you might want to occasionally delete hyperlinks. You delete hyperlinks in the same way you delete standard text and graphics. Select the information you want to delete, and press Delete or Backspace.
Tip - Modify hyperlink styles
If you want to change the style of all hyperlinks used in your Web page, your best bet is to alter the Hyperlink and FollowedHyperlink styles in the Styles And Formatting task pane. For more information about modifying styles, see Chapter 10, "Using Styles to Increase Your Formatting Power."