Ou Courses  Banner ADBH Web - HTML Help - Links
ADBH Web 08-Aug-2008

HTML Help - Adding Hyperlinks

Hyperlinks

<a href="URL"></a> This sets up a hyperlink i.e http://www.adbh.co.uk note generally you will be using http when inserting an external link, do not forget to include it in your link.

Looks like http://www.adbh.co.uk (this would normally be underlined but I use Cascading Style Sheets and have chosen not to underline links)

<a href="http://www.adbh.co.uk">ADBH Web</a> This allows you to add some meaninful text to the link.

Looks like ADBH Web

For links to pages within your site <a href="../../default.htm">ADBH Web</a> - this style is using relative linking the ../ in the statement are telling the browser to go up one directory or in the case of the example two directories.

<a href="mailto:EMAIL"></a> Set up an e-mail link

<a href="mailto:email address">Contact</a> You can add a bit of text to this as well.

Looks like this Contact

<a href="NAME"></a> Sets up an anchor(sometimes called bookmark) within the page at a point specified by you bookmark within your page

<a href="#NAME"></a>Creates a link to a an anchor (bookmark) in the same page, can also be used to make a different page open at a specific point.

<a href="#top">Top of Page</a> You can also add text to this to make it more user friendly.

Looks like 'Top of Page' link at the bottom of this page.

Links can also be added to graphics such as buttons - see Images as Links

 

 

 

Top of Page

 

 

 

Page built in 0.0006 seconds