<A> ...</A> Anchor  
|
DEFINITION
The anchor element <A> defines a hypertext link's activation point or a destination location within a document. |
ATTRIBUTES HREF="URL"
URL stands for uniform Resource Locator, a locator that specifies the location of a resource, usually another html file. URLs can also point to any type of Internet resource, including files, Telnet, e-mail, or Gopher services. |
NAME="text" This attribute marks a location point within a document, which acts as a hypertext link destination. The text supplied for this attribut acts like an anchor, holding a place to which a link can attach. |
TARGET="window" This attribute specifies loading the link into the targeted window. TARGET can be used with a frameset, where a frame has been named in the FRAME element. The targeted window can be one of the following values: The window must begin with an alphanumeric character to be valid, with the following four execeptions: _blank Load the link into a new (unnamed) blank window. _parent Load the link into the immediate parent of the document in which the link is found. _self load the link into the same window as the link. _top Load the link into the full body of the window. |
CONTEXT
<A> ... </A> is legal within the following markup tag:
<APPLET> <B> <BIG> <BR> <CITE> <CODE> <DFN> <EM> <FONT> <I> <IMG> <INPUT> <KBD> <MAP> <SAMP> <SCRIPT> <SELECT> <SMALL> <STRIKE> <STRONG> <SUB> <TEXTAREA> <TT> <U> <VAR> and plain text.
The following markup can be used within<A> ... </A>:
<ADDRESS> <B> <BIG> <BLOCKQUOTE> <BODY> <CAPTION> <CENTER> <CITE> <CODE> <DD> <DFN> <DIV> <DT> <EM> <FONT> <FORM> <H1> <H2> <H3> <H4> <H5> <H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <SMALL> <STRIKE> <STRONG> <SUB> <SUP> <TD> <TEXTFLOW> <TH> <TT> <U> <VAR>. |
SUGGESTED STYLE/USAGE Anchors should be the innermost elements used in nested markup except when embedded character controls, font styles, or line breaks are also used. Anchors cannot be nested with other anchors, however. Relative URLs provide more compact references, but require more maintenance. A closing tag (</A>) is required.. |
EXAMPLES: <BODY> <A HREF="http://www.gifart.com"> GIFART.COM</A>
<A HREF="mailto:rob@ragpag.com"> rob@ragpag.com</A> </BODY> |