HTML and CSS Reference
In-Depth Information
Event hand-
ler
HTML/XHTML tags
onMouseOver Most tags
onMouseUp
Most tags
<form>
onReset
<input>
,
<textarea>
onSelect
<form>
onSubmit
<body>
,
<frameset>
onUnload
[*]
Nonstandard handlers.
Some events, however, occur rarely and with special tags. These relate
to the special events and states that occur during the display and man-
agement of a document and its elements by the browser.
12.3.3.2. The mouse-related events
The
onClick
,
onDblClick
,
onMouseDown
, and
onMouseUp
attributes refer to
the mouse button. The
onClick
event happens when the user presses
down and then quickly releases the mouse button. If the user then