HTML Editor: Creating Hyperlinks

Hyperlinks (or just "links") are what makes a web page different from any other kind of writing. A link connects one web page to another page or even a specific location within a page. If you want to direct your students to a new location on the internet or in Moodle, you can create a link to that location. An "external" link connects your Moodle page to the beginning of a different page. An "internal" link connects your page to a location inside another page.

Creating External Links
You can turn text in a webpage into a link to another web site. Select the text you wish to turn into a link and click the "Insert Web Link" button. Type or paste the URL of the website in the "URL" window. Add a "Title" to the link to provide Alt text for the link.
The "Target" drop down lets you select whether the new link will open in the same window or a new window. The advantage of the new page opening in a new window is that your Moodle page stays open. For most teacher-created sites it should be unnecessary to specify same frame.

Creating Internal Links

This video uses a table of contents as an example for using internal links. However there may be many reasons you wish students to access information within a page. Here are the simple steps for linking inside a Moodle page.

1. Create an Anchor
"Anchors" are specific locations within a web page that serve as destinations for hyperlinks. Anchors let you "jump to" any spot on your page.

Select the location on the page you wish to be the destination and click on the "Create Anchor" button on the HTML Editor. Good "landmarks" on your page are headings. Give a name to the anchor that makes sense with the destination. You must remember exactly what you named the link.

2. Create a link to your Anchor
Select the word you wish to serve as a link to the anchor and click the "Insert Web Link" button. The dropdown menu for Anchors has all the internal links that were just created for that page. Select the anchor link you want and click "OK". When you save the page clicking the link will cause the screen to jump down to the anchor location

Creating Anchor Links to Different Pages
The "Insert Web Link" button will only show anchors for the page it is currently on. If you wish to create a link to an anchor on a different page simply make a temporary link to that location using the process above. When you save the page right click on the temporary link and select "Copy link location". Go to the page you wish to create your link on and click "Insert Web Link". Under URL paste the location to the anchor link and click "OK".

Linking to a Google Search

You can set up a custom link to a specific search in Google Scholar, a website that specifically searches scholarly texts and journals. When you search on Google Scholar it shows you all the documents that have your search string. There is a link to "Recent Articles" which will only show you articles since the year you set at the search window at the top.

All the search parameters are listed in the URL of the search. You can copy that URL and paste it into a Moodle link. The advantage is that this link will always be up to date, so your Moodle site will remain up to date.