www.toxicbug.com




Links


Links
<a href="page.html">LINK1</a>

- Here's your basic code for a link. What this will do is make a link "LINK1" which when clicked will call up page "page.html".
  • href="..." - specifies the page to load
  • name="..." - specifies the anchor to go to
  • target="..." - specifies window / frame name tolink in
    • "_self" link in the current window (default)
    • "_blank" link in a new window
    • "_top" link in the current window (removes frames if exist)
    • "_parent" link in the parent frame to where the link was
  • onClick="..." (javascript)
  • (javascript)
  • (javascript)
 
Anchors
<a href="#NAME1">LINK1</a>

The #NAME1 refers to an anchor point you placed somewhere on the page. You do that with this tag:

<a name="NAME1">

You can put as many of these on a page as you want, just change the anchor name for each one, making sure there are no duplicate anchor names on the same page.

You can combine linking to a page and an anchor spot like this:

<a href="page.html#name">LINK1</a>
























www.toxicBug.com Resources

toxicbug.com v 4_3