Key | Description | Availability |
---|
accept | Specifies accepted MIME types for file uploads. | |
align | Defines the alignment of the element. | |
alt | Specifies alternative text to display if the element cannot be displayed as expected. | |
checked | If present, specifies that the element should be checked. | |
class | CSS class assigned to the element. | |
dir | Direction of the element text. | |
disabled | Specifies whether or not the element is disabled. | |
height | If the value of the type attribute is image, this attribute defines the height of the image displayed for the button. | |
hspace | Number of pixels of space to the left and right of the element (i.e. horizontal margin). | |
id | Unique identifier for the element. | |
lang | Language code for the content of the element. | |
language | Script language for the element. | |
maxlength | Maximum number of characters that a user may type into the element. | |
name | Unique name identifier for the element. | |
readonly | If present, specifies that the element is read-only. | |
size | Size of the element. | |
src | URL for the source for the element. | |
style | Inline style for the element. | |
tabindex | Position of the element in the tabbing order for the document. | |
title | Short text description for the element. | |
type | Specifies the type of input control. | |
value | Text containing the value of the element. | |
vspace | Number of pixels of space above and below the element (i.e. vertical margin). | |
width | If the value of the type attribute is image, this attribute defines the width of the image displayed for the button. | |
onblur | Fires when the element loses focus. | |
onchange | Fires when the value of the element changes. | |
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. | |