One of the most basic building blocks of the web is the hyperlink (also known as a link). If you've ever used a website, you will have used a hyperlink at some stage; hyperlinks provide the connections between pages and documents on the web. Hyperlinks can be used to link to documents or pages within your own site, within the University's site, or on sites external to the University.
How to create a hyperlink
In the visual format toolbar, there are four icons for hyperlinking:
Named anchors can be inserted using the 'Bookmark' button on the visual format toolbar. This function is typically used to eliminate scrolling up and down long pages of text and to help users skip to a certain section.
1. Choose the location for the named anchor within the your text
2. Select the Bookmark button
3. Type in the name for your bookmark in the name field and then click the Add button
4. Click the Close button. (You can test the anchor first by clicking 'Go to'.)
5. To create a link to the anchor, highlight the text or image that you want to link and click the Hyperlink button.
6. Select the name that you just created which should be in the Quick link list (along with any others that have been defined on this page).
7. Select the name in the 'Quick link' drop down list and then click the Close button.
You can use this button to 'browse' for imported resources such as PDFs or word documents.
To create a new hyperlink to a resource, please highlight the appropriate text and 'browse' to the resource file. Select OK.
PLEASE NOTE: You should not use this function to browse for '.xml' files in the content, supplementary content or sites folders. If you wish to create a hyperlink to another web page, please use the 'Hyperlink' button.
You can use this button to create a hyperlink to another web page by typing in the full URL (or server relative URL) into the 'Link' field. To avoid error, you should copy and paste the full URL from the address bar of the desired page location.
If you wish to remove a hyperlink from a line of text, highlight the text and click the 'remove link' button.
What if I want to create a hyperlink to a new page?
You cannot link to a page until it has been published to the University's website at http://www.newcastle.edu.au. Simply creating a '.xml' content file and submitting it will not allow your users to view your content on the web. You must add your content to a site file and then submit the site file for your content to be visible.
The general rule to remember is: if you cannot see your web page on the University's website, you cannot create a hyperlink to that page.
If you are creating a link to an internal University page, document or site, the web publishing system is set up so that you do not need to enter the full URL of the link. You only need to enter the part of the URL that immediately follows the domain name of http://www.newcastle.edu.au. This is called a server-relative link, and is the recommended way to link to internal pages and documents on our site.
For example, if you were creating a link to the Future Students site under the University's website, where the full URL is http://www.newcastle.edu.au/students/future/index.html you would only need to enter the following URL: /students/future/index.html.
If you are creating a link to an external site (ie a site that is not within the University), you need to include the full URL, including the preceding http://. This is called an absolute link.
For example, if you were creating a link to Google you would need to enter the full URL:
- www.google.com or google.com or google
Note: It is always a good idea to copy and paste the URL directly from the page location in your browser window, rather than relying on memory to type it out.