Most of the advice on this page assumes you are using Macromedia Dreamweaver, but all the examples will work however you create your sites. More sophisticated CSS navigation techniques are here.
A hyperlink is a device that allows you to navigate from one web page to another. This device might be ...
Computers use "mouse system events". Different programming languages use different terms for these but here are the most common ones ...
And here are some more esoteric ones ...
When creating a multi-state web link the related mouse events are ...
This is the simplest type of link.
1 Select the text that you want to become a link.
2 In the properties palette type, or paste (or browse for another page within your local site) the URL you want to link to into the "Link" box.
3 Set the Target to "_top" (same window) . By default the target will be set to "_top" even if it is blank.
1 Select the text that you want to become a link.
2 In the properties palette type, or paste (or browse for another page within your local site) the URL you want to link to into the "Link" box.
3 Set the Target to "_blank" (new window).
This method uses a simple JavaScript behaviour to give you access to more options.
1 Select the text that you want to become a link.
2 In the properties palette type "#" into the "Link" box and then select it.
3 In the Behaviours palette click on the "+" button and select "Open Browser Window". A window will open where you can input options the click "OK".
4 Check in the Behaviours palette that "On Click" is shown.

You can link to specific vertical locations within a web page by inserting a named anchor (eg "#paragraph2") and linking to it ...
http://www.mysite.com/article.htm#paragraph2
If you have a very long page and want to create a link that takes you back to the top you can insert the link without the named anchor being present. The default setting for a link which targets a named anchor which doesn't exist is to return to the top of the page. Just use this code ...
<p><a href="#top">Top of page</a></p>
or simply ...
<p><a href="#">Top of page</a></p>
Director, Flash, Acrobat and many other authoring programs allow you to link to web pages. You will need to read their manuals to find out how.
Click here to view lingo that will help you create web page and mailto: links in Director.
Cascading Style Sheets allow control of how the different states of a link (hover, active, visited etc) appear. Click here for some examples.
By using Behaviours in Dreamweaver, or by hand coding your own JavaScripts, or by copying scripts, you can create a variety of link types based on events (such as mouse down/up, key down/up), and control statements etc.
You can made a browser window close by attaching a simple JavaScript to a text selection or image. You will need to do this by editing the html in "code view".
Here's the code for attaching to an image file (closewindow.gif) ...
<p><img src="closewindow.gif" width="245" height="30" onClick="javascript:window.close();"></p>
Here's the code for attaching to some text ...
<p><a href="javascript:window.close();">Click here to close this window</a></p>
A mailto link will open the default email program (on the end users computer) and create a new blank addressed email. Simply select the text or image you want to link from and enter "mailto:" followed be the full email address of the recipient.
You can create forms which send their user inputted contents as emails. In general you will use an action in your html code such as ...
<form method=POST action="mailto:somebody@somewhere.com">
But you can also try the following to make the text formatted more clearly ...
<form method=POST action="mailto:somebody@somewhere.com" enctype="text/plain">
Both of these above methods are not ideal however because they require the end-user to be using a computer which has an email client program configured (eg Outlook Express, Mail etc), are not secure and make the target email address visible. Click here for some advice on using forms and php to send information from a web page to an email address.
You can create a link that is attached to an image in several ways. You will probably want to use a GIF or JPEG.
1 Insert the image that you want to become a link into your page and select it.
2 In the properties palette type, or paste (or browse for another page within your local site) the URL you want to link to into the "Link" box.
3 Set the Target to "_top" (same window) . By default the target will be set to "_top" even if it is blank.
1 Insert the image that you want to become a link into your page and select it.
2 In the properties palette type, or paste (or browse for another page within your local site) the URL you want to link to into the "Link" box.
3 Set the Target to "_blank" (new window).
1 Insert the image that you want to become a link into your page and select it.
3 In the Behaviours palette click on the "+" button and select "Open Browser Window". A window will open where you can input options the click "OK".
4 Check in the Behaviours palette that "On Click" is shown.
1 Insert the image that you want to become a link into your page and select it.
2 In the Properties palette select a hotspot tool shape from the "Map" area and drag out the part of the image that you want to become a link on the image.

3 Using the techniques described on this page you can make the link open in the same, new or a new defined attributes page.
This is a preferable method to JavaScript because it is faster and doesn't clutter your page with code.
You can create an image rollover in Dreamweaver using a JavaScript behaviour.
None at present