• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Links > Linking to a Specific Anchor

Linking to a Specific Anchor

Once you have created an anchor you can define a link so that a user's click will bring them directly to the section of the document that contains the anchor, not just the top of that document.

To create a link to an anchor:

1.
Type <A HREF=" #.

2.
Type anchor name, where anchor name is the NAME of the destination section (step 2 on page 120).

3.
Type ">.

Figure 7.9. When the visitor points at a link with an anchor, the URL and the anchor name appear in the status bar (in the lower-left corner of the window).


4.
Type the label text, that is, the text that will be underlined or highlighted in blue, and that when clicked upon will take the user to the section referenced in step 2.

5.
Type </A> to complete the definition of the link.

Figure 7.10. Once the visitor clicks the link, the particular part of the page that the anchor references is displayed at the top of the browser window.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint