BASIC HTML 101

Overall HTML format: Hyperlinks and Anchors



Use an HREF anchor ("A") tag to make a "hypertext" link to other pages:

<a  href="URL"></A>
<A HREF="URL_of_File">display_text</A>
The item or page (indicated above by "URL_of_File") that you want to link to must be within the quotes. The part of your text that you want underlined and linked (indicated above by "display_text") should be within the tags.

Here's an example that links back to DRA-Monterey's Home Page. In HTML:

Here is a link to <a href="http://www.inlex.dra.com/home.shtml"> DRA-Monterey's Home Page</a>.

On your page it looks like:

Here is a link to DRA-Monterey's Home Page.

Links may point to items on the same page, to other pages on same site, or to a remote page. Here we've put links within a descriptive list:

<dt>Link to another local file in the same directory
<dd><a href="MBACtraining.html">MONTEREY BAY AREA COUNCIL TRAINING</a>

<dt>Link to a remote file
<dd><a href="http://altavista.digital.com/"> AltaVista Search: Main Page</a>

<dt>Link to a local graphic in the same directory
<dd><a href="smile.gif">Smiley Face< /a>

<dt>Graphic used as a link
<dd><a href="http://www.bsa.scouting.org" ><img src="../images/f-d-l.gif" alt="BSA"></ a> (click here to go to www.bsa.scouting.org)

<dt>Link to a point in the same HTML file
<dd><a href="#point3">Third section</a>

<dt>And what's being pointed to in the same HTML file
<dd><a name="point3">Section 3</a>

<dt>Another link to a point in the same HTML file
<dd><a href="#top">top of page</a>

<dt>Note: the top of page link (at the top of this page) looks like
<dd><a name="top"></a>

<dt>Send email:
<dd>E-mail <A HREF="mailto: Russell@dra.com">here</a>

<dt>Produce a directory list:
<dd><A HREF="">List of files in this directory</a>

</dl>

On your web page you will see:
Link to another local file in the same directory
MONTEREY BAY AREA COUNCIL TRAINING
Link to a remote file:
AltaVista Search: Main Page
Local graphic in same directory
Smiley Face
Graphic used as a link
BSA (click here to go to www.bsa.scouting.org)
Link to a point in the same HTML file
Third section
and what's being pointed to in the same HTML file
Section 3
Another link to a point in the same HTML file
top of page
Note: the top of page link (at the top of this page) looks like
<a name="top"></a>
Send email:
E-mail here to send comments on this course.
Produce a directory list:
List of files in this directory

BASIC HTML 101 
 URL types


Page provided by D*R*A's Monterey Office.

This page is maintained by RUSSELL HOLDER and does not represent any views or policies of and is not affiliated in any way with my employer.

Last update: 03APR98 0644HRS RAZ

Russell@dra.com