Adding BookmarksSuppose you'd like to link to another page, but the relevant material is so far down the page that your viewers won't see it when the file first opens in their browser. Your readers could get confused when the information they're looking for doesn't seem to be there. You can solve this problem with a bookmark. A bookmark allows you to create a hyperlink that jumps to a specific location within a page. The location can be within the same page as the hyperlink or on another page altogether. You have to set the bookmark first. Then you can create a hyperlink to it. Note: You can create bookmarks only on pages that you yourself can edit. This means you can't bookmark to a passage within somebody else's page out on the Web. 3.4.1. Setting BookmarksWhen a visitor clicks a link that's keyed to a bookmark, the browser displays only a portion of the Web page. You get to designate what portion by placing a bookmark at the top of the part of the page you want viewers to see (see Figure 3-6).
To insert a bookmark:
Note: If your bookmark is too close to the bottom of the page, the browser may be unable to display the bookmark in the upper-left corner. Once a browser hits page bottom, it can't go any lower. This means text above your bookmark will display in the top of the browser window. 3.4.2. Linking to BookmarksLinking to a bookmark works the same way as creating a regular hyperlinkthe only difference is you're specifying a specific location on the page you're linking to. 3.4.2.1 Link to a bookmark within the same pageBookmarks can help you reign in text on a very long page. For example, you can create a list of hyperlinks at the top of a page that link to bookmarked headings farther down the page.
3.4.2.2 Link to a bookmark on another pageEven if you're linking from a separate page, you can send visitors to a specific location on the destination page.
|
