Anchor Tags in Moodle

How to use anchor tags in the Moodle text editor

Last Updated: June 22nd, 2022

Anchor tags are basically links that link to a different spot on the same page. They're useful when you have a table of contents or something like one, where you would like someone to be able to click on a section name and immediately be taken to the beginning of the section. They're really easy and quick to set up once you know how to do it, and they can save readers a lot of time looking for the information they need. Here's how you can set up anchor tags.

  1. First, type of the body of text. You need the text to be there before adding anchor tags.
  2. Once the body of text is added, highlight the text that you would like to add an anchor to.
  3. With the text highlighted, click the flag icon in the editor next to the links.The image shows the text editor. Some text has been selected, and an arrow points to the flag icon in the editor options.
  4. Give a name to the anchor tag. Make sure you can recognize exactly what this points to. Click Insert.The image shows the insert/edit anchor popup. There is an input menu for the anchor name, and two buttons: "insert" and "Cancel"
  5. When you add the tag, you should see a little anchor icon next to the text.
  6. Now highlight the text that you would like to make into a link that points to the anchor you just created.
  7. Click the "Insert/edit link" icon on the editor.The image shows the text editor. Some text has been selected, and an arrow points to the link icon in the editor.
  8. Under the Anchors drop down menu, select the anchor you created. Click Insert
    The image shows the insert/edit link popup, the anchors drop-down menu is selected.
  9. Now you have a clickable link that will direct someone to a different part of the page.

How to Remove an Anchor Tag

Oops! You accidentally misspelled the tag and you want to change it, but the backspace or delete keys aren't removing the tag. Simply follow these directions to get rid of that annoying mistake.

    1. There's that annoying mistake you want to get rid of.
      The image shows the insert/edit anchor popup. There is an input menu for the anchor name, and two buttons: "insert" and "Cancel"
    2. No problem. Right click the anchor icon in the text editor and click Unlink
      The image shows the anchor icon and the right-click menu. The "unlink" option is indicated by a red arrow.
    3. Good as new!


ATC Support & Hours of Operation

Weekday Support, Monday - Friday

The ATC is open to in-person assistance. Support is available through the above remote options and on campus at CEN 208

Was this article helpful?