Home >Web Front-end >JS Tutorial >DOM basic tutorial event types_basic knowledge

DOM basic tutorial event types_basic knowledge

WBOY
WBOYOriginal
2016-05-16 16:18:511067browse

For user event types, the most commonly used are mouse, keyboard, and browser.

1. Mouse events:

Mouse events are frequently used. The following example tests various mouse events

Copy code The code is as follows: