Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Find the piece of text you want to anchor, usually the title
  • Before the title paste in the following HTML code:  <span id="anchor_TITLE OF THE ANCHOR">
  • Directly after the title paste in the following HTML code:  </span>
  • Click on the HTML button again to check that visually nothing has changed
  • Click Save changes 

...

  • Go to your module in Moodle

  • Within a Label or the description section of an activity, resource or a section, expand the formatting toolbar using the 'Show more buttons' button

  • Click on the HTML button

  • Find the piece of text you want to make a hyperlink to the anchor, this might be in a contents list

  • Before the text paste in the following HTML code:  <a href="#anchor_TITLE #TITLE OF ANCHOR">
  • Directly after the title paste in the following HTML code:  </a>
  • Click on the HTML button again to check that a hyperlink has been created but that visually nothing else has changed
  • Click Save changes

...