Key | Description | Availability |
---|
alt | Specifies alternative text to display if the element cannot be displayed as expected. | |
class | CSS class assigned to the element. | |
coords | Comma-delimited x, y coordinates for the element. | |
dir | Direction of the element text. | |
href | Path or URL for the linked document or object. | |
hreflang | Indicates the language of the linked resource. | |
id | Unique identifier for the element. | |
lang | Language code for the content of the element. | |
media | A hint of the media for which the linked resource was designed, for example print and screen. | |
name | Define a names for the clickable area so that it can be scripted by older browsers. | |
nohref | If present, specifies that the element has no href. | |
rel | For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. | |
shape | For an anchor that defines a hyperlink, shape of the selectable hypertext region. | |
style | Inline style for the element. | |
tabindex | Position of the element in the tabbing order for the document. | |
target | Target window to use for opening the linked document. | |
title | Short text description for the element. | |
type | This attribute specifies the media type in the form of a MIME type for the link target. | |
onblur | Fires when the element loses focus. | |
onclick | Fires when the element is clicked. | |
ondblclick | Fires when the element is double-clicked. | |
onfocus | Fires when the element receives focus. | |
onkeydown | Fires when a user presses down on a key while the element has focus. | |
onkeypress | Fires when a user presses a key or holds down the key while the element has focus. | |
onkeyup | Fires when a user releases a key while the element has focus. | |
onmousedown | Fires when a user clicks down on the mouse button while the element has focus. | |
onmousemove | Fires when the mouse moves while the pointer over the element. | |
onmouseout | Fires when the mouse pointer moves off of the element. | |
onmouseover | Fires when the mouse pointer moves over the element. | |
onmouseup | Fires when the user releases the mouse button while the element has focus. | |