<a href="?"></a> |
Creates a hyperlink that when clicked will bring the visitor to a different page. There are two ways to reference a page; relative and absolute.
- relative path to a page in this current folder written like this:
- <a href="body.htm">Body Tags</a> looks like this: Body Tags
- relative path to a page two folders up written like this:
- <a href="../../peace.htm">Without Peace?</a> looks like this: Without Peace?
- relative path to a page two folders up and one down written like this:
- <a href="../../psalms/001.htm">Psalm 1</a> looks like this: Psalm 1
- absolute path to page includes everything, like so:
- <a href="http://nu_b1.tripod.com/code/html/body.htm">Body Tags</a> looks like this:Body Tags
|
<a href="mailto:?"></a> |
Creates a hyper link to the persons email program. Written like this:
- <a href="mailto:nu_b1@hotmail.com">Wite Me</a> looks like this: Write Me
- Adding ?subject=whatever you want after the email address will include whatever you want in the subject line of the email. Handy if you want to know what page the person is emailing you from. Like this:
<a href="mailto:nu_b1@hotmail.com?subject=from the links tag page">Write Me</a> looks like this: Write Me
|
<a href="#name"></a> |
Creates a hyper link to a location on the same page or to another page. Used with <a name="?">
|
<a name="name"></a> |
Creates the target that will be sought out by the hyper link above.
- Written like this for target one on this page: <a name="one">Test Line One</a>
- Written like this for target two on other page: <a name="two">Test Line Two</a>
As you can see, the targets cannot tell the difference whether they are being called on the same page or from another page. Use unique names if you can for targets. Simply enclose the target in the anchor tags. |
Hope that this helps you...