Add or remove a bookmark (HTML anchor)

A hyperlink can go to a particular location on a web page by linking to a bookmark (HTML anchor) at the location. You can add a new bookmark and manage existing bookmarks in the current web page by using the Bookmark dialog box.

When you bookmark a selection of text, the text displays with a dashed underline in Design view. When you bookmark an empty location, the bookmark is indicated in Design view by a bookmark icon Cc294849.cf8a090a-2507-44cc-be93-bcf30c141330(en-us,Expression.40).png when Show and Paragraph Marks are both selected under Formatting Marks on the View menu.

To create a bookmark

  1. Open the web page in either Design view or Code view.

  2. Select the text to which you want to assign a bookmark.

  3. On the Insert menu, click Bookmark.

  4. In the Bookmark dialog box, under Bookmark name, type a name for the bookmark (spaces are allowed).

To remove a bookmark

  1. Open the web page in either Design view or Code view.

  2. On the Insert menu, click Bookmark.

  3. Under Other bookmarks on this page, click the bookmark you want to delete.

  4. Click Clear.

    Note

    You can also remove a bookmark that's selected in your web page by pointing to the <a> tag that appears in the Quick Tag Selector bar at the top of the web page, and then click the arrow next to the <a> tag and select Remove Tag.

See also

Tasks

Create or modify a hyperlink
Go to a hyperlink or bookmark (HTML anchor)
Add a temporary bookmark to code

Concepts

Working with hyperlinks

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