Anchors (also known as bookmarks) are a way to create links within a web page, rather than from one page or site to another. Often used as to create a 'table of contents' the top of a long page, with links to various sections within that page to help the user get to the desired information quickly, without having to scroll manually. One example is Course Lists (linking to 100-, 200-, 300-level courses, etc.); another is the bulleted links below.
Creating such a listing requires 2 steps:
There and Back Again
Best practice when using anchors is to also include a link at each anchor point that goes back to the top of the page, for easy use. To do this, you do not need to create a separate Anchor. Simply type "Back to top" (or something similar) above or beside the Anchor and link it with "#top" (without quotes) as the Link URL, as shown in Create a link, below.
- Place the cursor at the section of the page you want the user to be brought to
- Click the Insert/edit anchor button to launch pop-up box
- Enter a short name for the anchor
Anchor names must:
- use ONLY alpha-numeric characters, dashes and underscores
- NOT use spaces or other special characters
- NOT use a number at the beginning of the name
- 1anchor (starts with number)
- level 400(contains space)
- info@Grads (contains special character)
- Highlight the desired text which the visitor will click to get to the anchor
- Click the External Links button (not the Internal Links) to launch the pop-up box
- In the Anchors drop-down select from the anchors available on the page.
- Click OK
- Save the change (Preview does not always show the anchor functionality)
- Click each new link to make sure it goes to the proper sections
- Edit as needed
- Publish as normal