ToC ~ Up ~ Prev ~ Next ~ Index |
Introduction to HTML Last Update: 5 January 1998 |
An anchor is a piece
of text or some other object (for example an image)
which marks the beginning and/or the end
of a hypertext link. The <A>
element is used to mark that piece of text (or inline image),
and to give its hypertextual relationship to other documents.
The text between the opening and closing tags,
<A attributes> ...text... </A>
can be the start or destination (or both) of
a link. Here are some simple examples:
<A HREF="http://www.edu/st/file.html">bla bla</A>
<A HREF="image.jpeg">
<IMG SRC="icon.gif"> </A>
<A HREF="document.html">
, in which
case the image acts like an icon button than
links the user to the indicated HTML document. <A NAME="frxx">textbla</A>
The following sections describe the attributes appropriate to either Anchor or LINK elements. The entries marked '*' are commonly used and should be well understood. The other attributes are less common, and can be omitted at an introductory reading.
ToC ~ Up ~ Prev ~ Next ~ Index |
Introduction to HTML © 1994-1998 by Ian Graham Last Update: 5 January 1998 |