HTML and CSS Reference
In-Depth Information
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Events Defined by Internet Explorer
onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate,
onbeforepaste, onblur, onclick, oncontextmenu, oncontrolselect, oncopy,
oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter,
ondragleave, ondragover, ondragstart, ondrop, onfilterchange, onfocus,
onfocusin, onfocusout, onhelp, onkeydown, onkeypress, onkeyup,
onlosecapture, onmousedown, onmousemove, onmouseenter, onmouseleave,
onmouseout, onmouseover, onmouseup onmousewheel, onmove, onmoveend,
onmovestart, onpaste, onpropertychange, onreadystatechange, onresize,
onresizeend, onresizestart, onselectstart, ontimeerror
Element-Specific Attributes
align
This attribute is used to align the contents of the cells within the element. Common
values are
center
,
justify
,
left
, and
right
. If a value is set to
char
, alignment is set to
align off the character defined by the
char
attribute, with offset applied by
charoffset
.
bgcolor
This attribute specifies a background color for all the cells in a row. Its value can be
either a named color, such as
red
, or a color specified in the hexadecimal
#RRGGBB
format,
such as
#FF0000
.
bordercolor
This attribute, supported by a number of browsers, including Internet Explorer,
is used to set the border color for table cells in the row. The attribute should be used only
with a positive value for the
border
attribute. The value of the attribute can be either a
named color, such as
green
, or a color specified in the hexadecimal
#RRGGBB
format, such
as
#00FF00
. CSS should be used instead.
bordercolordark
This Internet Explorer-specific attribute specifies the darker of two border
colors used to create a three-dimensional effect for the cell's borders. It must be used with
the
border
attribute set to a positive value. The attribute value can be either a named color,
such as
blue
, or a color specified in the hexadecimal
#RRGGBB
format, such as
#0000FF
.
CSS should be used instead.
bordercolorlight
This Internet Explorer-specific attribute specifies the lighter of two border
colors used to create a three-dimensional effect for a cell's borders. It must be used with the
border
attribute set to a positive value. The attribute value can be either a named color,
such as
red
, or a color specified in the hexadecimal
#RRGGBB
format, such as
#FF0000
.
CSS should be used instead.
char
This attribute is used to define the character to which element contents are aligned
when the
align
attribute is set to the
char
value.