Difference of UI events' attributes in XHTML 1.0 Strict DTD

Dear Mr/Ms;

I have a question about XHTML 1.0 Strict/Transitional DTD.

The description of UI events' attributes in XHTML 1.0 Strict DTD is 
different from HTML 4.01.
Could you let me know why they are different?

In XHTML 1.0 Strict DTD
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
-------------------------------------------------------
<!-- attributes for common UI events
  onclick     a pointer button was clicked
  ondblclick  a pointer button was double clicked
  onmousedown a pointer button was pressed down
  onmouseup   a pointer button was released
  onmousemove a pointer was moved onto the element
  onmouseout  a pointer was moved away from the element
  onkeypress  a key was pressed and released
  onkeydown   a key was pressed down
  onkeyup     a key was released
-->
<!ENTITY % events
 "onclick     %Script;       #IMPLIED
  ondblclick  %Script;       #IMPLIED
  onmousedown %Script;       #IMPLIED
  onmouseup   %Script;       #IMPLIED
  onmouseover %Script;       #IMPLIED
  onmousemove %Script;       #IMPLIED
  onmouseout  %Script;       #IMPLIED
  onkeypress  %Script;       #IMPLIED
  onkeydown   %Script;       #IMPLIED
  onkeyup     %Script;       #IMPLIED"
  >
-------------------------------------------------------

In the XHTML 1.0 Strict DTD, there is no description of 
"onmouseover". Also the description of "onmousemove" is different 
from HTML 4.01's.

=======================================================
In XHTML 1.0 Strict DTD
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict
-------------------------------------------------------
onmousemove a pointer was moved onto the element
*There is no description of "onmouseover".
-------------------------------------------------------

=======================================================
In HTML 4.01
http://www.w3.org/TR/html401/interact/scripts.html#adef-onmouseover
-------------------------------------------------------
onmouseover = script [CT] 
The onmouseover event occurs when the pointing device is moved onto an element. This attribute may be used with most elements. 

onmousemove = script [CT] 
The onmousemove event occurs when the pointing device is moved while it is over an element. This attribute may be used with most elements. 
-------------------------------------------------------

I'll be very pleased, if you answer my question.

Thanks,

Satoko Tanaka

Received on Monday, 29 November 2004 13:13:39 UTC