Without links, the World Wide Web wouldn't be a web at
all! To add a link... you will use the <a
href="location"> opening tag and
</a> closing tag. Whatever appears between
these two tags will become underlined and colored, and if
you click on the underlined text it will send the browser
to the location within the quotes.
Example of a link...
Visit MacSurfer
Macintosh News!
Visit <a
href="http://www.macsurfer.com/">MacSurfer Macintosh
News</a>!
If you are just linking to a page in the same directory as your current page, you don't need the domain, just the page name. If you have a page called contactme.html, you can use the code <a href="contactme.html">Contact Me</a>.
Note: Although links are usually used to send people
to other web pages, you may also use links to send email to
a specific address by using a location of
mailto:user@host.
Example of a Mailto: Link...
Send email to the
Author [David]!
Send email to <a
href="mailto:david@digital-dvd.com">the Author
[David]</a>!
If you want a link to open in a new window, add
target="_blank" the end of the anchor tag, e.g.
<a href="http://www.apple.com/"
target="_blank">apple.com</a>.
Example of a link opening in a new window...
Visit Apple.com.
Visit Maccentral.com.
Visit Macsurfer.com.
Email Email David Petersen.