Creating an Anchor or Bookmark
Frontpage and
Expression Web will allow you to easily create destinations in a
web page. These are called anchors.
To create an anchor / bookmark in Frontpage, locate the area that you which to
direct users to and press CNTL-G (or Insert - Bookmark). A dialog
box will come up and you will enter a name. For example, if you are on a
Frequently Asked Question (FAQ) page and one of the FAQs is Why Us?, you might
name the anchor why.
In the source code, you will see:
<a name="why"></a>
Now to create a link to this bookmark / anchor, highlight the word(s) you
wish, and press CNTL-K (or Insert - Hyperlink). In the dialog box that
opens, you will see a few choices on the left side: Existing File or Web Page,
Place in this Document, Create a New Document, or E-mail Address. Choose
Place in this Document and you should see the bookmark(s) / anchor(s) that you
have created. Choose why and hit the OK button. In the source code,
you should see something like
<a href="#why">Why Us</a>
You can also link directly to an anchor from another page. For example, let's
say that the FAQ page is called about.html. And you want to have a hyperlink
that goes right to the why section on the FAQ. The source code would look
something like
<a href="about.html#why">Why Us</a>
For
more information, please see
syntax of anchor names.
You can also see an on-screen demonstration of
how to create an anchor or bookmark in Frontpage.




Comments