Bookmark Dialog Box
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Bookmark Dialog Box 

The Bookmark dialog box enables you to insert an HTML anchor tag (<a>) that contains a name attribute. An anchor tag with a name attribute is typically used to create a destination inside a page. The resulting tag might look like the following: <a name="part1"></a>

To open the Bookmark dialog box
  • On the Format menu in Visual Web Developer, click Insert Bookmark.

    NoteNote

    The Bookmark dialog box is available only in Design view.

UI Elements

Name

Specifies the name for the bookmark that you want to create.

You can include spaces in the name, but including spaces can make it harder to use the bookmark name in a URL. For example, if you create a bookmark named part 2, the URL you use in a browser to jump directly to the bookmark is as follows: http://localhost/test/part1.htm?#part%202

NoteNote

If you decide to use a space, it must be encoded.

See Also

Show:
© 2016 Microsoft