Creates a link to a place in the current document, to another document on the same
system, or a document on another system. To make to like to a section of the same
document, you must use the name attribute to give that part of the document a name. You
then target that name.
<a href="#address">Info on the address tag.</a>
Try it. It works.
Info on the address tag.
Notice that everything that is contained between the <a> and </a>
is made the link. This means the text, or image, is the "hotspot".
To make a link to a document on the same system, you specify it's file name or relative
<a href="index.html">Go to my main page.</a>
Go to my main page.
This example is of a document located in the same directory as the one you are reading now.
To make a link to a document on another system, you must use the complete URL of the
<a href="http://www.digits.com/">Get free counter for your home
<a href="http://www.microsoft.com/ie/">Get Internet Explorer
Get a free counter for your home page.
Get Internet Explorer 5.
To make a link to a section in another document, you use the filename plus the name of
<a href=tagsb.html#blockquote>Info on using blockquote.</a>
Info on using blockquote.
You can also use href to let the client send mail to you. The way you do
this is by using href="mailto:email here".
<a href="mailto:email@example.com">Write me.</a>
Write me. -This is a joke. Don't send mail here.
You can specify a subject for the e-mail by adding ?subject=subject here
to the end of the e-mail address in the link.
<a href="mailto:firstname.lastname@example.org?subject=I like