Anchors and their syntax
An anchor is a piece
of text or some other object (for example an image icon)
which marks the beginning and/or the end
of a hypertext link. The <A>
element is used to mark that piece of text, and
to give its hypertextual relationship to other documents.
The text between the opening and closing tags,
<A attribute> ...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>
- The string `bla bla' is a hypertext
link to the document `file.html' located
at the indicated URL.
-
<A NAME="frxx">textbla</A>
- The string `textbla' can be the target
of a link. This link is referenced via the form
"file.html#frxx" where 'file.html' is the file that
contains this anchor and `#frxx' is the anchor NAME. If
you are already in `file.html' the file is implicit, so
it can be left out.
HREF (link to object) and NAME (link from object) are
called anchor attributes.
[Next]
[Previous]
[Index]
HTML 2.0 Checked