why we use onmouseup in html?
The onmouseup attribute fires when a mouse button is released over the element. Tip: The order of events related to the onmouseup event (for the left/middle mouse button): onmousedown. onmouseup.