Links and anchors

When you type a URL that uses an HTTP protocol directly in Page view, the editor automatically turns it into a hyperlink. If you want to display different text for the hyperlink, you should use the following procedure.

StepsTo create a hyperlink:

  1. Select the text that you want to display for the link or set the insertion point where you want to add the link.

  2. Choose Format>Hyperlink from the menu bar.

    The Hyperlink Properties dialog box displays.

  3. If you did not select text in step 1, type the text you want to display for the hyperlink in the Text of the Hyperlink text box.

    You cannot type text if you selected text in step 1. Instead, the Text of the Hyperlink text box is grayed, and it displays the text that you selected.

  4. Enter the URL for the link in the Destination text box

    or

    Click the browse button to open the Choose URL dialog box.

    When you click OK, the selected text becomes a hyperlink and is underlined. In Source view, you can enter the link ID and text between the A tags.

StepsTo create an anchor that can be a target of a hyperlink:

  1. Select text or set the insertion point where the anchor should be.

  2. Choose Format>Hyperlink from the menu bar.

  3. Click the Advanced tab and type the attribute name in the left column and the value (name) of the anchor on the right. Include quotes around the value.

StepsTo link to an anchor within your document:

  1. Select the text that will be the link.

  2. Choose Format>Hyperlink from the menu.

  3. In the Link text box, type a pound sign (#) followed by the anchor name.

StepsTo transform a URL into a hyperlink:

  1. Enter the URL in your document, followed by a space. The URL does not need to be complete—it needs just enough for the editor to recognize it as a URL. The text will be turned into an underlined active link target.

  2. Edit the underlined text if you want to.

NoteSpaces in link text If you select the link text and begin typing, you replace the selected text as usual. When you type a space, the editor takes you out of the link so that you can type normal text. To create link text that includes spaces, you can:

Correcting link problems When you paste a relative link into Page view, the extra text about: might sometimes appear in the HREF. If this happens, use Source view to remove the extra text.