Inserting links and anchors

Links provide navigation throughout a Web page. When creating links, keep in mind:

  • No new windows: Current best practices and ADA compliance advise you to minimize launching new windows for links. The default behavior for a user is to use the back button when navigating a site. Only use target="_blank" (target="new window") if there is a compelling reason to do so.
  • Never create links with the text "click here;" ADA compliance requires that links provide clear information about where the link will take the user.
  • Make sure that links to files include information about the file type (e.g., Academic Calendar [PDF]).
  • Check external links regularly. Sites may expire, change or become irrelevant. There are many tools you can use to scan your site for broken links, such as Xenu.
  • Underlining should not be used other than to denote a link.

Creating links

  1. Select the text you wish to become the link.
  2. Click Insert/edit link. link button The Insert/Edit Link window will appear.
    • If you are linking to an internal page (i.e., a page within your website), select the Internal radio button and then click the Browse icon to navigate to the page you wish to link
    • If you are linking to an anchor, enter the anchor name. (Do not include the # symbol; the Web CMS adds it automatically.)
    • Type in a title to enhance accessibility. The title will show if the mouse hovers over the link. Best practice says that if the link takes you away from the current site, tell the user. For example in Title type: Link to ... website.

      insert link
    • If you are linking to an external page (i.e., a page outside of your website), click the External radio button and type the full URL in the Link box (e.g., http://www.ucdavis.edu/current-students/).

      Insert link: External tab
    • To create a link to an email address, type "mailto:email address" (e.g., mailto:mailid@ucdavis.edu) in the link box.
  3. Click Update to add the link.

To edit a link, select the existing hyperlink text and click the Insert/Edit Link icon. Make your changes and click Update.

Anchored Links

An anchor allows you to link to a different area on the same page. To insert an anchor,

  1. Highlight the text or place the cursor in the location you where you would like the anchor.
  2. Click the Insert Anchor  button to open a new window with the Insert/Edit anchor function.
    Insert/edit Anchor window
  3. Enter the name of your anchor point in the Anchor name field. Each anchor name must be unique.
  4. Next, highlight the text that you would like to link to the anchor, click the Link  button. Select the Internal or External tab as appropriate.
  5. Type in the name of the anchor. Do not include the HTML symbol of '#"; the Web CMS adds this. An example is Anchor name: top.

Now the link will jump to the specified anchor point in the page.