<a>
element
You use the HTML <a>
element to make links
between pages. (That is its most important use;
there are others which we'll see later.)
The <a>
element officially stands for anchor.
In the context of a link, you are setting a destination anchor; but you may want to think of
this element as making text active
and clickable.
Here's the model for linking to another web page (either on your site or someone else's):
<a href="destination_url">Clickable Text</a>
The first tag turns on clickable text, with the
destination being the hypertext reference
(href
) that you
specify between the quotes.
The words Clickable Text
will be come active and
clickable, and will appear blue and underlined.
And, of course, the closing </a>
tag
turns off active text.
<< Introduction | Index | Links to other sites >> |