Making Links to Pages
A link is something that takes the user to another Web page. A
link brought you to this page, for example.
You can make links to:
- Connect through text:
<A HREF="">
and </A>
- Display images with borders:
<A HREF="">,
<IMG SRC=""> and
</A>
- Display images without borders: border=0
- Send e-mail: mailto:
Using text as a link
Links begin with:
<A HREF="http://domain.name.edu/directory/filename.html">
and end with: </A>.
For instance:
<A HREF="http://cs.weber.edu/">WSU's
Computer Science Home Page</A>
WSU's Computer Science Home Page
Using an image as a link
<A HREF="http://cs.weber.edu/">
<IMG SRC="new.gif"></A>
Displaying images without borders
Graphics that are used as links may or may not have a border
around them. The example above had a border. To take it
out, just put border=0 inside
the IMG SRC tag. For example:
<A HREF="http://cs.weber.edu/">
<IMG SRC="new.gif
" border=0></A>
Sending e-mail through a link
<A HREF="mailto:http@icarus.weber.edu">
Clicking on this will help you e-mail http@icarus.weber.edu</A>
Clicking on this will help you e-mail http@icarus.weber.edu
[Table of Contents]
[More HTML]
[Next Page]
[Previous Page]
© 1996-2008 Suzanne Cook