basic concepts
Binding event handler
Bind HTML element attributes
Binding JavaScript object properties
addEventListener与attachEvent
addEventListener
attachEvent
The execution environment of the event handler
This keyword in event handler
Access event object
Use the return value to cancel the default behavior
Call sequence
Trigger events in code
Event propagation
Cancel the default behavior of the event
Forward event
Event type
Overview of event types
Document event
Mouse wheel event
Keyboard events
Touch screen events and mobile device events