<A>
Anchor Tag
Synopsis
<A>...</A>
Attributes
Core Attributes
Attribute | Description | Value |
---|---|---|
CLASS | Space-separated list of classes. | A string. |
ID | Unique identifier. | A string. |
STYLE | Associated style info. | A string. |
TITLE | Advisory title. | A string. |
Event Attributes
Attribute | Description | Value |
---|---|---|
ONBLUR | The element lost the focus | JavaScript code. |
ONCLICK | A pointer button was clicked. | JavaScript code. |
ONDBLCLICK | A pointer button was double clicked. | JavaScript code. |
ONFOCUS | The element got the focus | JavaScript code. |
ONKEYDOWN | A key was pressed down. | JavaScript code. |
ONKEYPRESS | A key was pressed and released. | JavaScript code. |
ONKEYUP | A key was released. | JavaScript code. |
ONMOUSEDOWN | A pointer button was pressed down. | JavaScript code. |
ONMOUSEMOVE | A pointer was moved within. | JavaScript code. |
ONMOUSEOUT | A pointer was moved away. | JavaScript code. |
ONMOUSEOVER | A pointer was moved onto. | JavaScript code. |
ONMOUSEUP | A pointer button was released. | JavaScript code. |
General Attributes
Attribute | Description | Value |
---|---|---|
ACCESSKEY | Accessibility key character | |
CHARSET | Char encoding of linked resource | A string. |
COORDS | For use with client-side image maps | A string. |
HREF | URI for linked resource | A URI. |
HREFLANG | Language code | A string. |
NAME | Named link end | A string. |
REL | Forward link types | A string. |
REV | Reverse link types | A string. |
SHAPE | For use with client-side image maps | A string. |
TABINDEX | Position in tabbing order | A numeric value. |
TARGET | Render in this frame | A string. |
TYPE | Advisory content type | A string. |
Lang Attributes
Attribute | Description | Value |
---|---|---|
DIR | Direction for weak/neutral text. | “ltr”, or “rtl”. |
LANG | Language code. | A string. |
Description
Anchor Tag