Creating Anchors
An anchor (also called bookmark) is a link to a place in the same web page. Anchors are useful when you have a long text which you want to divide into sections. The reader can then use the links to jump between the sections. A typical example is a table of content where each section is an anchor link.
When adding anchors, you first create the anchor so that you can select it in step two, where you create the link to the anchor.
Step 1: Insert Anchor
Insert an anchor on the page as follows:
- Select the text where you want to place an anchor.
- Select Insert/edit anchor from the Toolbar.
- In Anchor name, type a name for the anchor. Avoid using any special characters or spaces.
- Click Insert.
- The anchor is displayed in the Editor with a yellow background.
Step 2: Link to Anchor
Create a link to an anchor as follows:
- Select the text that will form the link.
- Select Insert/edit link. In the window, keep the Web Page tab active.
- In Link title, type the text that will be shown as a pointer to the link. This is important information for everyone reading the website with different accessibility aids.
- In Target frame, select how the link is opened.
- Select Anchor on this page as the link target.
- In Anchor, select the anchor to which you want to link (all the anchors on the page are listed).
- Click OK.
- The link is displayed in the Editor with a yellow background.
Change Anchor
- Select the anchor you want to edit.
- Select Insert/edit anchor from the Tools menu.
- In Anchor name, edit the anchor text.
- Click Update.
Delete Anchor
- Select the anchor you want to delete.
- Press Delete on your keyboard.
- Update links that are pointing to the anchor that has been deleted.
- Click Save and Publish .
Last updated: 2011-03-25 | Copyright © EPiServer AB