Inserting Links and Bookmarks in Web Pages

See Also

A link is a "hot" area (link) on your page that causes an action when the user clicks it. You can use links to:

Links can jump from text, an image, or another HTML element such as a marquee. The link is typically marked in the browser with an alternate color and underlining depending on the user's settings for the browser.

To insert a link

  1. In Design view or Source view, select the text, image, or other element that you want to use as the link.

    Note   You cannot select an element that is already part of another link or bookmark.

  2. From the HTML menu, choose Link.

  3. In the Hyperlink dialog box, select the protocol to use from the Type list, as described in the following table.
    To create a link to Select this protocol
    Jump to another Web page http:
    Jump to a bookmark on the current page (other). This leaves the protocol blank.
    Download a file and open it file:
    Create a link that sends email mailto:
    Access other Internet resources The protocol (such as ftp) that is required for that resource

  4. In the URL box, type the destination for the type of link you are creating, as described in the following table.
    To create a link to Specify this in the URL box
    Jump to another Web page The URL of the page to link to.
    Jump to a bookmark on the current page A hash mark (#) followed by the name of the bookmark (for example, #part2).
    Jump to a bookmark on another page The URL of the destination page, then add a hash mark (#), and then the name of the bookmark to jump to (for example, mypage.htm#part2).
    Download a file and open it The path or URL of the file.
    Create a link that sends email The full email address of the recipient (for example, ann@mycompany.com)

    Tip   You can specify a ToolTip for a link by setting the link's Title property in the Properties window.

You can insert bookmarks anywhere in the page.

To insert a bookmark

  1. In Design view or Source view, place the mouse pointer where you want the bookmark. Optionally, you can select text to specify as the name of the bookmark.

  2. From the HTML menu, choose Bookmark.

  3. In the Insert Bookmark dialog box, enter the name of the bookmark.