Export (0) Print
Expand All

Create or modify a hyperlink

The Insert Hyperlink dialog box enables you to create a hyperlink that links to an existing or new web page, a file, an e-mail address, or a particular location on a web page. You can also use this dialog box to modify the text that contains a hyperlink and to add a ScreenTip that appears when the user's pointer is over a hyperlink.

When you want to modify an existing hyperlink, the Edit Hyperlink dialog box provides all the same options as the Insert Hyperlink dialog box and enables you to remove a hyperlink.

tip noteTip

You can add hyperlinks to different areas of a single image by creating hotspots. For more information, see Add or modify a hotspot.

To create or modify a hyperlink

  1. In your web page, in Design view or Code view, do one of the following:

    • To create a hyperlink, select the item that you want to use as the hyperlink.

      NoteNote

      If you do not select text or a picture, the destination URL is displayed as the hyperlink text.

    • To modify an existing hyperlink, put your cursor anywhere in the hyperlink.

  2. In either the Common or the Standard toolbar, click Insert Hyperlink Cc295495.0a875556-ac1e-447b-b861-3f7313389373(en-us,Expression.40).png.

  3. In the Insert Hyperlink or the Edit Hyperlink dialog box, do the following:

    Use this To do this

    Text to display

    If text is formatted as a hyperlink and you want to change the selected text, type the text you want.

    ScreenTip

    To display a message in a floating box when a user's pointer is over the hyperlink, click ScreenTip. In the Set Hyperlink ScreenTip dialog box, in the ScreenTip text box, type the text you want to display, and click OK.

    Existing File or Web Page

    To link to a web page or a bookmark on a web page, select Existing File or Web Page and then do the following:

    1. In the Address box, specify the web page or, to locate the page, do one of the following:

      • To browse through the files in your site, select Current Folder, and then, in the Look in box, specify the folder the page is in.

      • To browse through the pages and files you've recently visited in Windows Internet Explorer, either select Browsed Pages or select an item from the Address drop-down menu.

      • To browse through files you've recently edited in Microsoft Expression Web, select Recent Files.

      • To browse the World Wide Web using Internet Explorer, to the right of the Look in box, click Browse the Web Cc295495.c2abfaa2-6546-40c0-b3e4-d857e1a23c8c(en-us,Expression.40).png. In your web browser, browse to the page that you want to link to, and then press ALT+TAB to switch back to Expression Web. The location of the page you visited is displayed in the Address box.

    2. To link to a bookmark on the page you selected, click Bookmark, and then in the Select Place in Document dialog box, under Select an existing place in the document, click the bookmark that you want to use as the destination.

    Place in This Document

    To link to a bookmark on the current web page, select Place in This Document and then, under Select a place in this document, click the bookmark you want to use as the destination.

    Create New Document

    To link to a new page, select Create New Document and then do the following:

    1. In the Name of new document box, type the name of the file you want to create and link to.

    2. If you want to create a document in a different location, under Full path, click Change, browse to the location where you want to create the file, and then click OK.

    3. Under When to edit, specify whether you want to edit the file now or later.

    E-mail Address

    To link to an e-mail address, select E-mail Address and then do the following:

    1. To specify the e-mail address that you want to link to, do one of the following:

      • In the E-mail address box, type the e-mail address.

      • In the Recently used e-mail addresses box, select an e-mail address.

    2. Optional: If you want to set the subject heading of the e-mail message, in the Subject box, type the subject.

      NoteNote
      Some web browsers and e-mail programs may not use the subject heading that you set.

    Target Frame

    If you want the destination to open in a new browser window, click Target Frame. In the Target Frame dialog box, select New Window, and click OK.

    NoteNote
    This option is available only for frames pages and is not available if the destination of the hyperlink is to an e-mail address.

    For information about changing the target frame on a page that uses frames, see Change the frame targeted by a hyperlink.

To change the text of a hyperlink

Do one of the following:

  • In Design view or Code view, select the text that contains the hyperlink, and then type the new text.

  • Put your cursor anywhere in the hyperlink, and then, in either the Common or Standard toolbar, click Insert Hyperlink Cc295495.0a875556-ac1e-447b-b861-3f7313389373(en-us,Expression.40).png. In the Text to display box, type the text you want, and then click OK.

To remove a hyperlink from text

To preserve the content that contains the hyperlink, either put your cursor in the content that contains the hyperlink or select the content, and then do one of the following:

  • In either the Common or the Standard toolbar, click Insert Hyperlink Cc295495.0a875556-ac1e-447b-b861-3f7313389373(en-us,Expression.40).png. In the Edit Hyperlink dialog box, click Remove Link.

  • Point to the <a> tag in the Quick Tag Selector bar at the top of the web page, click the arrow that appears next to the tag, and select Remove Tag. If the hyperlink also contains a bookmark, the bookmark will also be removed.

To delete the content that contains a hyperlink

  • Select the content that contains the hyperlink, and press DELETE.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft