A
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 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>
- The string `bla bla' is a hypertext
link to the document `file.html' located
at the indicated URL.
-
<A HREF="image.jpeg">
<IMG SRC="icon.gif"> </A>
- The image `icon.gif' is a hypertext
link to the image file located in the same directory
as the currently accessed document (unless otherwise
specified by the BASE element).
-
<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.
Content
Exclusions
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: REQUIRED
See ATTRIBUTES
See CONTENT DECLARATION
Parent Elements
Top Element List
All Element List
Tree
HTML 2.0 DTD