PC-side Web page has developed from scratch, people are accustomed to the mouse and keyboard human-computer interaction mode, so in the PC-side web development generally use mouse events and keyboard events.
Mouse event:
OnClick event: Occurs when the left or right mouse button is clicked.
OnDoubleClick event: Occurs when the left mouse button is double-clicked.
The onmousedown event occurs when a mouse button is clicked (left, right, or middle) and has not been released.
OnMouseMove Event: Occurs when the mouse cursor moves.
OnMouseUp event: Occurs when the mouse button is released (left, right, or middle).
onMouseOver event: Occurs when the mouse cursor moves over an object.
onMouseOut event: Occurs when the mouse cursor leaves the object.
Ommousewheel event: Occurs when the mouse wheel is moved.
Keyboard event:
onkeypress Event: Occurs when a key is pressed and released.
OnKeyDown Event: Occurs after a key is pressed (before the key is released).
OnKeyUp Event: Occurs when a key is released.
Touch events for mobile touchscreen web pages