|
|
|
|
|
|
 |
<A> the anchor tag starts with A then you add a attribute.
The anchor tag creates source links to other web pages or other sections
of the current web page. In other words
it enables you to navigate through your website with out the anchor tag you would not
be able to go from page to page.
It also creates anchors or specific target areas within your web page if you wanted a link to take you from section to section within the same page. |
|
|
|
|
|
How to Create a Hyperlink:

<A HREF=>
After the = sign you would type in the
URL of the target web page.
URL (Uniform Resource Locator): Is the address of a page on the
World Wide Web, look at the top of the window and you will see the URL
for this page.
The HREF attribute of the anchor tag specifies the URL of the target of the link.. |
|
|
|
|
Different types of Hyperlinks:
Relative link -creates a link to another page on your Website.
It would be an Internal link. <A HREF="candles.html">Internal Link</A>
It should look like this on your page: Internal Link.
Absolute link. To create a link to another page on another Website
<A HREF="http://www.rnllee.com/">External Link</A>
It should look like this on your page:External Link .

For example : the URL for this page you are viewing is
http://www.rnllee.com/rlpages/creating_links.html
To create a link to this page
you would have to use the <A HREF=> tag.
If you wanted to link to this page from in
your web page you would put the following code in your document

<A HREF= http://www.rnllee.com/rlpages/creating_links.html > this link leads to creating hyperlinks</A> |
|
|
|
|
Linking within your Present Document:
<A NAME=>
The NAME attribute of the anchor tag places a section identifier within a web page, thereby establishing a section of the web page as a target.
Often the <A NAME=> is placed next to a section title.
The following example shows the title of the Education section of a web page resume. The source code identifying this title as a target is shown below it.
|
|
|
EDUCATION
<A NAME="education">EDUCATION</A> The menu at the top of the resume would include a hyperlink to the Education section as shown below. The source code is shown below it. Education <A
HREF="#education">Education</A>
|
|
|
|
|
Creating Image Hyperlinks:

Instead of words, an image may be a link to a target web page.
An example and its
source code is shown below.
In the example below the <A HREF=> link uses an image
( <img src="candle.gif"> ) to link to www.rnllee.com Home Page.
<A HREF="www.rnllee.com"><img src="candle.gif"></A> |
| |
|
|
|
|
|
|