MENU NEXT

 

Bullseye

RIGHT ON TARGET

A target is a type of anchor or link tag that allows the user to "jump over" sections of your website to reach what they are most interested in. This can be quicker than waiting for another page to load or creating those other pages. Targets can also make your page easier to organize. Therefore, they are well worth the hassle of learning J

Targets use two sets of tags. The first set acts like a menu item.
Its structure is <a href="#name_of_target">name of target</a>

The second set of tags identifies the line of your webpage that you want to skip to.
Its structure is <a name="name_of_target">name of target<a/>

Here is an example of our code with a target set to jump to the bottom of the page:
<HTML>
<HEAD>
<TITLE>MY RAZZLE DAZZLE WEBPAGE</TITLE>
</HEAD>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#ff0000" alink="#00ff00">
<a href="#bottom">go to bottom of page</a>

the good stuff goes here
<P>
<a href="
http://cybermoms.cyberbeach.net ">Cybermoms</a>
<P>
<hr width="75%" align=right color="#ff0000">
<a name="bottom">this is the bottom of the page</a>

</BODY>
</HTML>

And this is what the page looks like:

Screenshot of webpage with target pointing to bottom of page
Targets can also point to an area at the top of your webpage from the bottom.
Here is an example of our code with a target set to jump to the top of the page:
<HTML>
<HEAD>
<TITLE>MY RAZZLE DAZZLE WEBPAGE</TITLE>
</HEAD>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#ff0000" alink="#00ff00">
<a name="top">this is the top of the page</a>

the good stuff goes here
<P>
<a href="
http://cybermoms.cyberbeach.net ">Cybermoms</a>
<P>
<hr width="75%" align=right color="#ff0000">
<a href="#top">go to the top of the page</a>

</BODY>
</HTML>

And this is what the page looks like:

Screenshot of webpage with target pointing to top of page