The only mousedown event fires on the element. If you depress the mouse button on an element and move your mouse off the element, and then release the mouse button. The click fires when one mousedown and one mouseup detected on the element.The mouseup fires when you release the mouse button on the element.The mousedown fires when you depress the mouse button on the element.
When you click an element, there are no less than three mouse events fire in the following sequence: DOM Level 3 events define nine mouse events.
Mouse events fire when you use the mouse to interact with the elements on the page.
Summary: in this tutorial, you will learn about the basic mouse events and their properties in JavaScript.