please dont rip this site
previous | start | next


A

<A
CLASS=type
HREF=reference
ID=value
NAME=name
onClick=function
onMouseOver=function
REL=SAME|NEXT|PARENT|PREVIOUS
REV=value
STYLE=style
TARGET=window
TITLE=title>
</A>

Stands for anchor. The end-tag is required.

CLASS=type
Indicates the class to which the element belongs.
HREF=reference
Specifies either a destination address or a destination file. A destination address must be in URL format. A destination file must name a file and be in the format of the given file system. If no path or domain name is specified, the file is searched for in the same location as the current document.
ID=value
Specifies a unique value for the element over the document.
NAME=name
Specifies a named reference within an HTML document.
onClick=function
Activates a script when the onClick event occurs.
onMouseOver=function
Activates a script when the onMouseOver event occurs.
REL=SAME|NEXT|PARENT|PREVIOUS
Defines the relationship of a link. The default is SAME.
SAME The author of the linked document is the same as the current document.
NEXT The link is the next page in a sequence.
PARENT The current page is the parent of a destination document.
PREVIOUS The link is to the previous document.
REV=value
Specifies the reverse link.
STYLE=style
Specifies style information.
TARGET=window
Specifies to load the link into the targeted window. This attribute can be used with a frameset where a frame has been named in the FRAME element. The window can be one of these values:
window Specifies to load the link into the targeted window. The window must begin with an alphanumeric character to be valid, except for the following four target windows:
_blank Load the link into a new blank window. This window is not named.
_parent Load the link into the immediate parent of the document the link is in.
_self Load the link into the same window the link was clicked in.
_top Load the link into the full body of the window.
TITLE=title
Specifies the title that appears when the hyperlink is selected.

The properties of elements that can follow A are applied to the data characters or elements in the container. The anchor element is used to link text or other elements using the HREF= attribute. The anchor element is used to specify text or graphics as a named reference, to which hyperlinks can link, using the NAME= attribute. Anchors cannot be nested.

Example

<A HREF="http://www.microsoft.com"> This is a link to Microsoft.</A>

<A HREF="home.htm">This is a link to a file called home.htm in the same 
directory as this page.</A> 

<A TARGET="viewer" HREF="sample.htm">Click here to load the link into 
"viewer" window.</A>



previous | start | next


file: /Techref/language/html/r020/slide4.htm, 6KB, , updated: 2005/12/15 10:24, local time: 2024/11/19 09:35,
TOP NEW HELP FIND: 
18.225.55.223:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/language/html/r020/slide4.htm"> HTML Reference</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?