<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.
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. |
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. |
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>
file: /Techref/language/html/r020/slide4.htm, 6KB, , updated: 2005/12/15 10:24, local time: 2024/12/25 00:35,
3.135.208.236: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? <A HREF="http://techref.massmind.org/techref/language/html/r020/slide4.htm"> HTML Reference</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.