Hyperlinks

A hyperlink is a connection from one page to another location such as:

(a) another page  (b) a different section on the same page.

The destination is frequently another Web page, but it can also be a picture, an e-mail address, a file (such as a multimedia file or Microsoft Office document), or a program.   A hyperlink can be text or a picture.

When a site visitor clicks the hyperlink, the destination is displayed in a Web browser, opened, or run, depending on the type of destination. For example, a hyperlink to an AVI file opens the file in a media player, and a hyperlink to a html page displays the page in the Web browser.


Create a hyperlink in web design program 
(FrontPage Express, FrontPage, Word etc.)

1. Create a hyperlink to a page on your site

 

<a  href="otherfile.htm">What is here appears as underlined text in the browser </a>

<a  href="folder/otherfile.htm"> Underlined text  </a>

2. Create a hyperlink to a page or file on the World Wide Web (External Hyperlink)

Type and select the text you want to use as a hyperlink

<a href="http://www.ecdl.ie">ecdl</a>

Using the Target="_blank" Attribute 

If you are creating an external hyperlink the target shown below will ensure that when the viewer clicks on it the page will display in a new window (the browser is relaunched). This ensures that your site remains behind the new site and is still there if the X (Close) is clicked.

<a href="http://www.javascript.com" target="_blank">www.javascript.com</a>

This can be done in FrontPage by:
 right clicking over an existing hyperlink -
Choose Page Properties - Click into the pencil where it says Target Frame - Choose New window

3. Create a hyperlink to a bookmark


A bookmark is a location on a page that you have marked.

You can create a hyperlink to a bookmark when you want to display a certain section of a page to the site visitor. When the site visitor clicks the hyperlink, the relevant part of the page is displayed, rather than the top of the page.

For example, in a long page you could create a bookmark at each heading, and at the top of the page add a table of contents that lists these headings. Each entry in the table of contents is a hyperlink that uses a bookmarked heading as a destination.

A hyperlink to a bookmark, also called an anchor, is indicated by a pound sign (#), which precedes the destination URL.


To create a bookmark

Position the insertion point where you want to create a bookmark, or select the text to which you want to assign the bookmark.

Hyperlinking to an existing bookmark

<a name="bookmark name">

 

<a href="#bookmark name">Underlined text</a>

 

4. Create a hyperlink to send an e-mail message

You can create a hyperlink that opens and addresses an e-mail message to the address you specify. For example, if you want site visitors to send you feedback, you can create a hyperlink that creates an e-mail message addressed to your e-mail alias.

Note Not all Web browsers support hyperlinks to e-mail addresses.

Type and select the text you want to use as a hyperlink (e.g  e mail me)

 

<a href="mailto:kifet.ias@eircom.net">e mail me</a>

 

5. Delete a hyperlink

 To delete the hyperlink completely, including the hyperlink text, press DELETE.


Lesson Material List | Home Page | List of Assignments