A JavaScript Example With Event Attributes

I am a <p> element. Do stuff with the mouse and keyboard on me.

Click count: 0

Double-click count: 0

Mouse down count: 0

Mouse out count: 0

Mouse over count: 0

Mouse up count: 0

Mouse move count: 0

Key down count: 0

Key up count: 0

Key press count: 0