Key | Description | Availability |
---|
background | Specifies the URL for the background image for the document or element. | |
bgcolor | Specifies the background color for the document or element. Specify either a color name or RGB color. | |
border | Width (in pixels) of the border around the element. | |
cellpadding | Number of pixels between the content of a cell and the edge of a cell. | |
cellspacing | Number of pixels between cells. | |
class | CSS class assigned to the element. | |
cols | Number of characters wide that the element should be. | |
dir | Direction of the element text. | |
frame | Specifies which edges of the element should have a border. | |
height | Height of the element (in pixels). | |
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. | |
rules | Specifies the dividing rules for the element. | |
style | Inline style for the element. | |
summary | Summary of the contents of the element. | |
tabindex | Position of the element in the tabbing order for the document. | |
title | Short text description for the element. | |
vspace | Number of pixels of space above and below the element (i.e. vertical margin). | |
width | Width of the element (pixels or percentage). | |
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. | |