How to: Insert HTML Hyperlinks and Bookmarks in Design View
Hyperlinks and bookmarks are important tools for helping users to navigate quickly within and across Web pages to the content that they need.
When clicked, a hyperlink attempts to find an HTML document and open it in the Web browser. It locates this new document using a Uniform Resource Locator (URL) string. For example, the hyperlink <A HREF="mypage.htm"> looks in the current folder for a page named mypage.htm, and then displays this page in the current frame.
To insert a hyperlink
In Design view, open your Web page for editing.
Select the text or image to use as a hyperlink.
On the Format menu, click Convert to Hyperlink.
The Hyperlink dialog box appears.
In the URL box, type the path to the resource or click the Browse button and navigate to the target page or file, and then click OK.
The target attribute specifies the browser window in which the hyperlink is displayed. You can enter the actual name of the target window or use special terms, such as parent or top, to express the position of the target window relative to the current one. If the target attribute is not set, the hyperlink displays the target page in the current browser window.
To set the target window of a hyperlink
Select the hyperlink
In the Properties window, in the Target box enter the name of the target window or select a special term.
A bookmark creates a location within an HTML document to which a hyperlink can jump (for example, <a name="anchor">).
To insert a bookmark
In Design view, place the cursor on the page at the location that you want to bookmark.
On the Format menu, click Insert Bookmark.
The Bookmark dialog box appears.
Type a name for the bookmark, and then click OK.
Now you can make this bookmark the target of a hyperlink.
You can create a hyperlink that scrolls the current HTML document to a location that was previously marked by an anchor. The Web browser locates this anchor using an abbreviated URL (for example, <a href="#anchor">).
To insert a hyperlink to a bookmark
Select the text or image for the user to use as a hyperlink.
On the Format menu, click Convert to Hyperlink.
The Hyperlink dialog box appears.
In the Type list, select (other).
In the URL box, type a pound sign (#) and the bookmark name (for example, #anchor), and then click OK.